[java-opensaml] branch main updated: Fix test using ReplayCache.
Scott Cantor
cantor.2 at osu.edu
Fri Aug 5 19:29:51 UTC 2022
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=8d2128c1e99e91884ac8bb759779a06bb571d72a
The following commit(s) were added to refs/heads/main by this push:
new 8d2128c1e Fix test using ReplayCache.
8d2128c1e is described below
commit 8d2128c1e99e91884ac8bb759779a06bb571d72a
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Aug 5 15:29:48 2022 -0400
Fix test using ReplayCache.
---
.../saml/saml2/assertion/impl/OneTimeUseConditionValidatorTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/assertion/impl/OneTimeUseConditionValidatorTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/assertion/impl/OneTimeUseConditionValidatorTest.java
index 0be88fb0a..7b42a0220 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/assertion/impl/OneTimeUseConditionValidatorTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/assertion/impl/OneTimeUseConditionValidatorTest.java
@@ -32,8 +32,8 @@ import org.opensaml.saml.saml2.assertion.tests.BaseAssertionValidationTest;
import org.opensaml.saml.saml2.core.Assertion;
import org.opensaml.saml.saml2.core.Condition;
import org.opensaml.saml.saml2.core.OneTimeUse;
-import org.opensaml.storage.ReplayCache;
import org.opensaml.storage.impl.MemoryStorageService;
+import org.opensaml.storage.impl.StorageServiceReplayCache;
import org.testng.Assert;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
@@ -45,7 +45,7 @@ import org.testng.annotations.Test;
public class OneTimeUseConditionValidatorTest extends BaseAssertionValidationTest {
private MemoryStorageService storageService;
- private ReplayCache replayCache;
+ private StorageServiceReplayCache replayCache;
private OneTimeUseConditionValidator validator;
@@ -57,7 +57,7 @@ public class OneTimeUseConditionValidatorTest extends BaseAssertionValidationTes
storageService.setId("mySS");
storageService.initialize();
- replayCache = new ReplayCache();
+ replayCache = new StorageServiceReplayCache();
replayCache.setId("myRC");
replayCache.setStorage(storageService);
replayCache.initialize();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list