[JBoss JIRA] (GTNPORTAL-2972) EPP+SP: Problem with LoginRedirectFilter reading POST parameters
by Marek Posolda (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2972?page=com.atlassian.jira.pl... ]
Marek Posolda moved GTNSSO-19 to GTNPORTAL-2972:
------------------------------------------------
Project: GateIn Portal (was: GateIn SSO)
Key: GTNPORTAL-2972 (was: GTNSSO-19)
Workflow: GIT Pull Request workflow (was: jira)
Affects Version/s: (was: 1.3.0.Beta01)
Security: Public
Fix Version/s: 3.x
(was: 1.3.0.CR04)
> EPP+SP: Problem with LoginRedirectFilter reading POST parameters
> ----------------------------------------------------------------
>
> Key: GTNPORTAL-2972
> URL: https://issues.jboss.org/browse/GTNPORTAL-2972
> Project: GateIn Portal
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Reporter: Marek Posolda
> Assignee: Marek Posolda
> Fix For: 3.x
>
>
> 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
11 years
[JBoss JIRA] (GTNSSO-20) Replace call HttpMethod.getResponseBodyAsString() in RestCallbackHandler
by Marek Posolda (JIRA)
[ https://issues.jboss.org/browse/GTNSSO-20?page=com.atlassian.jira.plugin.... ]
Marek Posolda resolved GTNSSO-20.
---------------------------------
Fix Version/s: 1.3.3.Final
Resolution: Done
Related issue GTNSSO-17 was fixed, so currently there isn't any usage of commons-httpclient3 (where this WARN could happen) in gatein-sso component.
> Replace call HttpMethod.getResponseBodyAsString() in RestCallbackHandler
> ------------------------------------------------------------------------
>
> Key: GTNSSO-20
> URL: https://issues.jboss.org/browse/GTNSSO-20
> Project: GateIn SSO
> Issue Type: Task
> Affects Versions: 1.3.0.Beta01
> Reporter: Martin Weiler
> Assignee: Marek Posolda
> Fix For: 1.3.3.Final
>
>
> Using SAML2 integration with RestCallbackHandler leads to the following WARN messages:
> 10:03:14,421 WARN [HttpMethodBase] Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
>
> The HttpMethod.getResponseBodyAsString() method call should be replaced in order to avoid the WARN message.
--
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
11 years
[JBoss JIRA] (GTNPORTAL-2970) Gate In Redirect Admin UI: Redirect sorting causes NPE
by Alexandre Mendonça (JIRA)
Alexandre Mendonça created GTNPORTAL-2970:
---------------------------------------------
Summary: Gate In Redirect Admin UI: Redirect sorting causes NPE
Key: GTNPORTAL-2970
URL: https://issues.jboss.org/browse/GTNPORTAL-2970
Project: GateIn Portal
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Alexandre Mendonça
Assignee: Alexandre Mendonça
When sorting a redirect before ever entering a redirect to be configured causes a NPE and in certain conditions it may even affect a different site redirects.
--
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
11 years