2 Replies Latest reply on May 10, 2007 1:22 AM by alex chen

    How to store username/password in the session in login.jsp

    Richard Abbuhl Newbie

      This wiki page briefly describes how to store the username/password in the session using several intermediate servlets.

      I just want the user to login and to store their username/password in the session so I can get this information later in a portlet or a struts portlet for authorization of a web service and backend authorization.

      I think I can accomplish this by changing login.jsp without requiring a new servlet. If I do require a servlet then I need to write the servlet, add it to portal-server.war, and change web.xml in portal-server.war.

      Does anyone have example source for this change, i.e. the login.jsp, and, if necessary, the servlet code, and the changes to web.xml to enable this change?