[
https://issues.jboss.org/browse/GTNPORTAL-1924?page=com.atlassian.jira.pl...
]
Minh Hoang TO commented on GTNPORTAL-1924:
------------------------------------------
In current login mechanism, we rely on 'javax.servlet.forward.request_uri'
request attribute to compute the initialURI as InitiateLoginServlet handles request.
The Servlet Spec (chapter 8) mentioned about 'javax.servlet.forward.request_uri':
*A servlet that has been invoked by another servlet using FORWARD RequestDispatcher must
have access to original request*
In case of Jetty, there is no FORWARD request before the request reaches
InitiateLoginServlet (look at the thread dumps in attached files). Hence, the
'javax.servlet.forward.request_uri' attribute of login request, as it enters
InitiateLoginServlet, is null.
[Jetty] Can't redirect to the origin requested URL after login
--------------------------------------------------------------
Key: GTNPORTAL-1924
URL:
https://issues.jboss.org/browse/GTNPORTAL-1924
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: WCI integration
Affects Versions: 3.1.0-GA
Environment: Ubuntu 11, Jetty 6.1.25
Reporter: Vu Viet Phuong
Assignee: Minh Hoang TO
Labels: portal-s57
Original Estimate: 4 hours
Remaining Estimate: 4 hours
- Go to
http://localhost:8080/portal/private/classic/organization/management
- Redirect to login page
- Login with root
--> redirect to HOME page ---> error
Expected : redirect to the origin requested uri :
http://localhost:8080/portal/private/classic/organization/management
This bug can only be reproduced with Jetty server
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira