shiro **Realm的doGetAuthenticationInfo方法执行到下边
UsernamePasswordToken tokens = (UsernamePasswordToken) token;
报如下错误。
nutz-integration-shiro版本 1.r.62
shiro-all 版本 1.3.0
org.apache.shiro.authc.AuthenticationException: Authentication failed for token submission [org.nutz.integration.shiro.SimpleShiroToken@18b37713]. Possible unexpected error? (Typical or expected login exceptions should extend from AuthenticationException).
at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:214)
at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106)
at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270)
at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256)
at demo.LoginController.login(LoginController.java:41)
at demo.LoginController$FM$login$db69e29afa4fe06cf697426d890dcd5d.invoke(LoginController.java)
at org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(MethodInvokeProcessor.java:31)