Implement SP authn by credential names via metadata, dump 1.1 legacy mode.
[java-idp.git] / src / edu / internet2 / middleware / shibboleth / idp / provider / SSOHandler.java
index dcfc053..a0bb18c 100644 (file)
@@ -102,7 +102,7 @@ public abstract class SSOHandler extends BaseHandler implements IdPProtocolHandl
                // for this relying party
                SPSSODescriptor role;
                if (descriptor != null
-                               && (role = descriptor.getSPSSODescriptor("urn:oasis:names:tc:SAML:1.1:protocol")) != null) {
+                               && (role = descriptor.getSPSSODescriptor(org.opensaml.XML.SAML11_PROTOCOL_ENUM)) != null) {
                        Iterator spPreferredFormats = role.getNameIDFormats();
                        while (spPreferredFormats.hasNext()) {