From 0bb416b3178eb7abcdcf5766a79a4c72947d0f91 Mon Sep 17 00:00:00 2001 From: cantor Date: Sat, 15 Feb 2003 02:25:24 +0000 Subject: [PATCH] Bypass policy check for now. git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@464 ab3bd59b-922f-494d-bb5f-6f0a3c29deca --- .../middleware/shibboleth/common/ClubShibPOSTProfile.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/edu/internet2/middleware/shibboleth/common/ClubShibPOSTProfile.java b/src/edu/internet2/middleware/shibboleth/common/ClubShibPOSTProfile.java index a41e9de..ed5a6ae 100755 --- a/src/edu/internet2/middleware/shibboleth/common/ClubShibPOSTProfile.java +++ b/src/edu/internet2/middleware/shibboleth/common/ClubShibPOSTProfile.java @@ -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"); } -- 1.7.10.4