Can we pass the entered username to authentication failure url in spring security?
Can we pass the entered username to authentication failure url i开发者_如何学Gon spring security in case of authentication failure by unmatching password?
Assuming you are asking, how do we get the username in case of authentication failure, it is available in a special spring-security constant SPRING_SECURITY_LAST_USERNAME.
This SO discussion could be useful reference.
精彩评论