Minh Hoang TO created GTNPORTAL-2417:
----------------------------------------
Summary: PortalRequestContext object is not cleaned as user logs out
Key: GTNPORTAL-2417
URL:
https://issues.jboss.org/browse/GTNPORTAL-2417
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Minh Hoang TO
Assignee: Minh Hoang TO
As user clicks on 'Sign out' button, the server make a sendRedirect
{code:java}
LogoutControl.wantLogout();
Cookie cookie = new Cookie(InitiateLoginServlet.COOKIE_NAME, "");
cookie.setPath(req.getContextPath());
cookie.setMaxAge(0);
prContext.getResponse().addCookie(cookie);
prContext.sendRedirect(createURL.toString());
{code}
The problem (detected via debugging) is that the same prContext is used while processing
subsequent request. That raises a particular sign out problem with GlassFish 3.1.2 as the
server invokes getWriter and GateIn invokes getOutputStream on the response object
associated with prContext.
http://java.net/projects/glassfish/sources/svn/content/tags/3.1.2/web/web...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira