Don't allow for an endpoint, sent by reference, to be selected if its binding is...
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 13 Sep 2007 16:13:46 +0000 (16:13 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 13 Sep 2007 16:13:46 +0000 (16:13 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2390 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/idp/profile/saml1/ShibbolethSSOEndpointSelector.java

index 46cc57d..39a262b 100644 (file)
@@ -77,7 +77,7 @@ public class ShibbolethSSOEndpointSelector extends BasicEndpointSelector {
         }
         if (endpoints != null && endpoints.size() > 0) {
             for (Endpoint endpoint : endpoints) {
         }
         if (endpoints != null && endpoints.size() > 0) {
             for (Endpoint endpoint : endpoints) {
-                if(endpoint == null){
+                if(endpoint == null || !getSupportedIssuerBindings().contains(endpoint.getBinding())){
                     continue;
                 }
                 
                     continue;
                 }