on-internet
← Community

getting exception Authentication failed for token submission in apache shiro

Stack Overflow ·

i am new in apache shiro.i am getting exception when i execute this statement. currentUser.login(token); exception is errororg.apache.shiro.authc.AuthenticationException: Authentication failed for token submission [org.apache.shiro.authc.UsernamePasswordToken - [email protected], rememberMe=true]. Possible unexpected error? (Typical or expected login exceptions should extend from AuthenticationException). i am invoking this method for login.the code is. public boolean authorize(String username,String password) { Boolean status=false; log.debug("the user id "+username+"passwrodD::"+password); Realm

Comments

Sign in or sign up to comment and upvote.

No comments yet.