Description of problem: When the "LogOutResponseLocation" is configured, the SAML2LogoutHandler correctly uses this value as the Destination when the SP generates a LogoutResponse. However, the LogOutResponseLocation" is not getting used during the HTTP POST so that LogoutResponse is getting sent to the wrong IDP url. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Configure and deploy an idp, sales-post and employee applications 2. Configure the "LogOutResponseLocation" in the employee.war/picketlink.xml 3. Log into the sales-post application 4. Hit the employee application 5. Click on the GLO logout link in the sales-post Expected results: The employee.war should generate a LogoutResponse that has a "Destination" that matches the "LogOutResponseLocation". This LogoutResponse should be sent to the same url that is specified in the LogOutResponseLocation". Actual results: The LogoutResponse is not sent to the same url that is specified in the LogOutResponseLocation. Additional info:
Created attachment 1186537 [details] employee.war
Created attachment 1186538 [details] sales-post.war
Created attachment 1186539 [details] idp.war
Attached applications required to reproduce the issue. Here is the required security-domain configuration: <security-domain name="idp" cache-type="default"> <authentication> <login-module code="UsersRoles" flag="required"> <module-option name="usersProperties" value="${jboss.server.config.dir}/users.properties"/> <module-option name="rolesProperties" value="${jboss.server.config.dir}/roles.properties"/> </login-module> </authentication> </security-domain> <security-domain name="sp" cache-type="default"> <authentication> <login-module code="org.picketlink.identity.federation.bindings.jboss.auth.SAML2LoginModule" flag="required"/> </authentication> </security-domain>
Verified with EAP 6.4.11.CP.CR1;
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.