[java-opensaml] branch main updated: Fix test using ReplayCache.

Scott Cantor cantor.2 at osu.edu
Fri Aug 5 19:30:38 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=db5221f2aeef2afec9f7f0f00db3bbd72eec165d

The following commit(s) were added to refs/heads/main by this push:
     new db5221f2a Fix test using ReplayCache.
db5221f2a is described below

commit db5221f2aeef2afec9f7f0f00db3bbd72eec165d
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Aug 5 15:30:35 2022 -0400

    Fix test using ReplayCache.
---
 .../binding/security/impl/MessageReplaySecurityHandlerTest.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/common/binding/security/impl/MessageReplaySecurityHandlerTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/common/binding/security/impl/MessageReplaySecurityHandlerTest.java
index fab5ef4ad..6041468c5 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/common/binding/security/impl/MessageReplaySecurityHandlerTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/common/binding/security/impl/MessageReplaySecurityHandlerTest.java
@@ -26,8 +26,8 @@ import org.opensaml.messaging.context.MessageContext;
 import org.opensaml.messaging.handler.MessageHandlerException;
 import org.opensaml.saml.common.messaging.context.SAMLMessageInfoContext;
 import org.opensaml.saml.common.messaging.context.SAMLPeerEntityContext;
-import org.opensaml.storage.ReplayCache;
 import org.opensaml.storage.impl.MemoryStorageService;
+import org.opensaml.storage.impl.StorageServiceReplayCache;
 import org.testng.annotations.AfterMethod;
 import org.testng.annotations.BeforeMethod;
 import org.testng.annotations.Test;
@@ -45,7 +45,7 @@ public class MessageReplaySecurityHandlerTest extends XMLObjectBaseTestCase {
 
     private MemoryStorageService storageService;
 
-    private ReplayCache replayCache;
+    private StorageServiceReplayCache replayCache;
 
     @BeforeMethod
     protected void setUp() throws Exception {
@@ -60,7 +60,7 @@ public class MessageReplaySecurityHandlerTest extends XMLObjectBaseTestCase {
         storageService.setId("test");
         storageService.initialize();
         
-        replayCache = new ReplayCache();
+        replayCache = new StorageServiceReplayCache();
         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