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 ?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
Just configure
authentication-failure-url
to aServlet
and set an attribute from that servlet likeand forward this request to login page.
Or provide
authentication-failure-url
aslogin.jsp?authValid=false
check for the param on jsp
and print the message conditionally