Bypass policy check for now.
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sat, 15 Feb 2003 02:25:24 +0000 (02:25 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sat, 15 Feb 2003 02:25:24 +0000 (02:25 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@464 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/common/ClubShibPOSTProfile.java

index a41e9de..ed5a6ae 100755 (executable)
@@ -81,7 +81,8 @@ public class ClubShibPOSTProfile extends ShibPOSTProfile
         throws SAMLException
     {
         super(policies, receiver, ttlSeconds);
-        if (!policies.contains(Constants.POLICY_CLUBSHIB))
+        return;
+        if (!policies.contains(Constants.POLICY_INCOMMON))
             throw new SAMLException(SAMLException.REQUESTER, "ClubShibPOSTProfile() policy array must include Club Shib");
     }
 
@@ -98,7 +99,8 @@ public class ClubShibPOSTProfile extends ShibPOSTProfile
         throws SAMLException
     {
         super(policies, issuer);
-        if (!policies.contains(Constants.POLICY_CLUBSHIB))
+        return;
+        if (!policies.contains(Constants.POLICY_INCOMMON))
             throw new SAMLException(SAMLException.RESPONDER, "ClubShibPOSTProfile() policy array must include Club Shib");
     }