Don't allow for an endpoint, sent by reference, to be selected if its binding is...
[java-idp.git] / 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(endpoint == null){
+                if(endpoint == null || !getSupportedIssuerBindings().contains(endpoint.getBinding())){
                     continue;
                 }