Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

How to carry a string value during the authentication using Spring security OpenID

  • 17-09-2011 09:43PM
    #1
    Registered Users, Registered Users 2 Posts: 36


    I have been working on this for several days, and hope someone can help me.
    There are three requirements for the authentication processing.
    1. Authentication using OpenID, login page is login.jsp. After login is successfully, display the username and email address at login-succ.jsp
    2. There is a input field in the login.jsp, I also need to display the value of mymessage in the login-succ.jsp if login is successfully
    3. After login successfully, user is in the login-succ.jsp, with his username email address and mymessage value. If user refresh the login-succ.jsp page, these three values should be display again.
    I can get 1 and 2 working if I save the input field value in HttpSession, then read it after login successfully. But if there are two instance of login-succ.jsp pages, one session will be overwritten by another.


    Can anyone give me some advices, thanks!!

    Thanks.


Advertisement