I am using Spring Security. I want to display login error message on login.jsp such as login failed or account locked. How can I display such message on login page ?
I am using Spring Security. I want to display login error message on login.jsp
Share
Just configure
authentication-failure-urlto aServletand set an attribute from that servlet likeand forward this request to login page.
Or provide
authentication-failure-urlaslogin.jsp?authValid=falsecheck for the param on jsp
and print the message conditionally