-
1. Re: User portlet
bsmithjj Oct 21, 2005 2:06 PM (in response to patrickdalla)The subject of this posting is completely wrong - logging in to a servlet container via j_security_check has nothing to do with a User Portlet.
Anyways, I answered this question here:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=70094
Hope it helps you. -
2. Re: User portlet
ashokhament Oct 28, 2005 2:52 AM (in response to patrickdalla)Brad Smith,
As per the instructions given by you in the link are working fine.
I have configuerd login page but not logout.
As per your code, redirection to the logout page is done at view.jsp that is the redirected page from login page.
But after click the link logout in user portal the control will not go the same page as for login link.
Then how and where can redirect to the logout.jsp -
3. Re: User portlet
bsmithjj Oct 28, 2005 8:17 AM (in response to patrickdalla)did you create logout.jsp in 'jboss-portal.sar\portal-server.war\' directory?
If so, your login.jsp can contain code like this for getting the user back into the flow of your portal/web-app:
logout.jsp<% session.invalidate(); response.sendRedirect("http://myserver.com:8080/login/logout.jsp"); %>
Hope this helps.