[jboss-user] [Security & JAAS/JBoss] - Jboss login and portlet login

snon do-not-reply at jboss.com
Fri Mar 28 05:08:44 EDT 2008


Hi,

JBoss Portal 2.4.1
JBoss 4.0.4

I have a portal, with portlets containing webapps. I need to be able to use the login and password from the jboss portal login page in order to log into my other apps.
That's why I'm trying to develop a servlet in order to store the username and password in the session while login in my portal. I found something on the wiki but I'm having a few problem with the portletlogin :
http://wiki.jboss.org/wiki/Wiki.jsp?page=PortletLogin

1) Why do we have 2 servlets ? (savelogin and autologin servlet)
Can't we do both actions in one servlet ?


2) How the connection between the autologin and savelogin servlet is done ?

String autologinURL = req.getContextPath() + "/auth/";
resp.sendRedirect(resp.encodeRedirectURL(autologinURL));

There is no reference to autologin servlet...

3) In the autologin servlet : where do we put the code ? In which method ?


Thanks for the answers.

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

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



More information about the jboss-user mailing list