Results 1 to 1 of 1

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

  1. #1
    Join Date
    Dec 2011
    Posts
    24

    Default 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 ?


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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •