Announcement Announcement Module
No announcement yet.
Custom login page :- How do I deal with errors ? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom login page :- How do I deal with errors ?

    SOLVED:- I found the objects in session scope. and could reference it with ${SPRING_SECURITY_LAST_EXCEPTION.message}

    I cant seem to find any samples of how to deal with errors in a custom login page in Spring Security.

    I currently have a jsp, which has code copy/pasted from the auto generated login page.

    This works...but it does not handle errors.

    I cant see to even see any new attributes that are set in the http request object, when the login fails.

    Any idea how I can access the error messagess in my custom jsp ?

    Last edited by shahed100; Dec 19th, 2011, 11:08 AM.