Exposed replay cache to SHIRE
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 6 Aug 2002 05:15:59 +0000 (05:15 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 6 Aug 2002 05:15:59 +0000 (05:15 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@259 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

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

index ef18828..4b49098 100755 (executable)
@@ -201,10 +201,6 @@ public class ShibPOSTProfile
         if (sso == null)
             return r;
 
-        // Check for replay.
-        if (!checkReplayCache(assertion))
-            throw new SAMLException(SAMLException.RESPONDER, "ShibPOSTProfile.accept() detected a replayed SSO assertion");
-
         // Examine the subject information.
         SAMLSubject subject = sso.getSubject();
         if (subject.getNameQualifier() == null)
@@ -345,7 +341,7 @@ public class ShibPOSTProfile
      * @param  a            The assertion to check
      * @return              true iff the assertion has not been seen before
      */
-    protected synchronized boolean checkReplayCache(SAMLAssertion a)
+    public synchronized boolean checkReplayCache(SAMLAssertion a)
     {
         // Default implementation uses the basic replay cache implementation.
         return SAMLPOSTProfile.checkReplayCache(a);