[jboss-user] [JBoss Portal] - How to store username/password in the session in login.jsp

rabbuhl do-not-reply at jboss.com
Wed Feb 28 06:13:02 EST 2007


This wiki page briefly describes how to store the username/password in the session using several intermediate servlets.
http://wiki.jboss.org/wiki/Wiki.jsp?page=PortletLogin

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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023577#4023577

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023577



More information about the jboss-user mailing list