From: cantor Date: Tue, 6 Aug 2002 05:15:59 +0000 (+0000) Subject: Exposed replay cache to SHIRE X-Git-Tag: v2.1.3~2336 X-Git-Url: https://repo.niif.hu/gitweb/gitweb.cgi?p=java-idp.git;a=commitdiff_plain;h=06ece016c190745bbff5443f51c8b1a3a4a24d81 Exposed replay cache to SHIRE git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@259 ab3bd59b-922f-494d-bb5f-6f0a3c29deca --- diff --git a/src/edu/internet2/middleware/shibboleth/common/ShibPOSTProfile.java b/src/edu/internet2/middleware/shibboleth/common/ShibPOSTProfile.java index ef18828..4b49098 100755 --- a/src/edu/internet2/middleware/shibboleth/common/ShibPOSTProfile.java +++ b/src/edu/internet2/middleware/shibboleth/common/ShibPOSTProfile.java @@ -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);