开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜