Use protocol support constant instead of literal.
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 20 Jun 2005 02:33:20 +0000 (02:33 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 20 Jun 2005 02:33:20 +0000 (02:33 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1636 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

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()) {