Marek Posolda created GTNSSO-19:
-----------------------------------
Summary: EPP+SP: Problem with LoginRedirectFilter reading POST parameters
Key: GTNSSO-19
URL:
https://issues.jboss.org/browse/GTNSSO-19
Project: GateIn SSO
Issue Type: Enhancement
Affects Versions: 1.3.0.Beta01
Reporter: Marek Posolda
Assignee: Marek Posolda
Fix For: 1.3.0.GA
Reported by Martin Weiler:
a customer is using LoginRedirectFilter on EPP+SP. We found out that this filter is
breaking the Content Inline editing functionality of SP, as it reads out the request
parameters, which results in the POST parameters getting null.
The customer is suggesting the following fix:
// Return true if logout request is in progress
- private boolean isLogoutRequest(HttpServletRequest req)
- {
- String portalComponentId = req.getParameter("portal:componentId");
- String portalAction = req.getParameter("portal:action");
- if (("UIPortal".equals(portalComponentId)) &&
("Logout".equals(portalAction)))
- {
- return true;
- }
- else
- {
- return false;
- }
+ private boolean isLogoutRequest(HttpServletRequest req) {
+ if("GET".equals(req.getMethod())) {
+ String portalComponentId = req.getParameter("portal:componentId");
+ String portalAction = req.getParameter("portal:action");
+
+ if (("UIPortal".equals(portalComponentId)) &&
("Logout".equals(portalAction)))
+ return true;
+ else
+ return false;
+ }
+ else
+ return false;
}
If you think it is ok, could you go ahead and commit it?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira