开发者

Can we pass the entered username to authentication failure url in spring security?

开发者 https://www.devze.com 2023-02-20 23:07 出处:网络
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 use

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消