[java-idp-testbed COMMIT] in /trunk/src/main: java/sp/SAML2Controller.java webapp/index.html
noreply at shibboleth.net
noreply at shibboleth.net
Sun Sep 7 20:54:39 EDT 2014
Author: scantor
Date: Sun Sep 7 20:54:39 2014
New Revision: 282
URL: http://svn.shibboleth.net/view/java-idp-testbed?rev=282&view=rev
Log:
Fix POST SLO driver.
Modified:
trunk/src/main/java/sp/SAML2Controller.java
trunk/src/main/webapp/index.html
Modified: trunk/src/main/java/sp/SAML2Controller.java
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/main/java/sp/SAML2Controller.java?rev=282&r1=281&r2=282&view=diff
==============================================================================
--- trunk/src/main/java/sp/SAML2Controller.java (original)
+++ trunk/src/main/java/sp/SAML2Controller.java Sun Sep 7 20:54:39 2014
@@ -119,11 +119,11 @@
@RequestMapping(value="/InitSLO/POST", method=RequestMethod.GET)
public void initSLORequestPost(HttpServletRequest servletRequest, HttpServletResponse servletResponse) throws Exception {
LogoutRequest logoutRequest = buildLogoutRequest(servletRequest);
- logoutRequest.setDestination(getDestinationRedirect(servletRequest, "SLO"));
+ logoutRequest.setDestination(getDestinationPost(servletRequest, "SLO"));
MessageContext<SAMLObject> messageContext = buildOutboundMessageContext(logoutRequest,
buildIdpSloEndpoint(SAMLConstants.SAML2_POST_BINDING_URI, logoutRequest.getDestination()));
SAMLMessageSecuritySupport.signMessage(messageContext);
- encodeOutboundMessageContextRedirect(messageContext, servletResponse);
+ encodeOutboundMessageContextPost(messageContext, servletResponse);
}
@RequestMapping(value="/POST/ACS", method=RequestMethod.POST)
Modified: trunk/src/main/webapp/index.html
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/main/webapp/index.html?rev=282&r1=281&r2=282&view=diff
==============================================================================
--- trunk/src/main/webapp/index.html (original)
+++ trunk/src/main/webapp/index.html Sun Sep 7 20:54:39 2014
@@ -34,7 +34,7 @@
<li>
<form action="sp/SAML2/InitSLO/POST" method="GET">
- <p>Init SAML 2 Logout, Async, POST Binding with transient ID:
+ <p>Init SAML 2 Logout, POST Binding with transient ID:
<input type="text" name="transientID" size="60"/>
</p>
</form>
More information about the commits
mailing list