Remove erroneous setting of the protocol binding in the anonymous SP case
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 26 Feb 2008 07:42:15 +0000 (07:42 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 26 Feb 2008 07:42:15 +0000 (07:42 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2655 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/idp/profile/saml2/SSOProfileHandler.java

index e76b743..a05a018 100644 (file)
@@ -522,7 +522,6 @@ public class SSOProfileHandler extends AbstractSAML2ProfileHandler {
             } else {
                 endpoint.setBinding(getSupportedOutboundBindings().get(0));
             }
             } else {
                 endpoint.setBinding(getSupportedOutboundBindings().get(0));
             }
-            endpoint.setBinding(getInboundBinding());
             log.warn("No endpoint available for relying party {}. Generating endpoint with ACS url {} and binding {}",
                     new Object[] { requestContext.getPeerEntityId(), endpoint.getLocation(), endpoint.getBinding() });
         }
             log.warn("No endpoint available for relying party {}. Generating endpoint with ACS url {} and binding {}",
                     new Object[] { requestContext.getPeerEntityId(), endpoint.getLocation(), endpoint.getBinding() });
         }