[java-opensaml] branch main updated: IDP-1793 Use Suppliers for HttpRequest/Response
Rod Widdowson
rdw at steadingsoftware.com
Sat Aug 6 16:05:46 UTC 2022
This is an automated email from the git hooks/post-receive script.
rdw 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=47dbc2948bd578fdaa469664286ad405892be3b2
The following commit(s) were added to refs/heads/main by this push:
new 47dbc2948 IDP-1793 Use Suppliers for HttpRequest/Response
47dbc2948 is described below
commit 47dbc2948bd578fdaa469664286ad405892be3b2
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Aug 6 17:04:44 2022 +0100
IDP-1793 Use Suppliers for HttpRequest/Response
https://shibboleth.atlassian.net/browse/IDP-1793
Use new Suppliers to configure The Cookie Manager
---
.../storage/impl/client/AbstractBaseClientStorageServiceTest.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/opensaml-storage-impl/src/test/java/org/opensaml/storage/impl/client/AbstractBaseClientStorageServiceTest.java b/opensaml-storage-impl/src/test/java/org/opensaml/storage/impl/client/AbstractBaseClientStorageServiceTest.java
index d2862e057..5473ddea2 100644
--- a/opensaml-storage-impl/src/test/java/org/opensaml/storage/impl/client/AbstractBaseClientStorageServiceTest.java
+++ b/opensaml-storage-impl/src/test/java/org/opensaml/storage/impl/client/AbstractBaseClientStorageServiceTest.java
@@ -23,7 +23,8 @@ import org.testng.Assert;
import net.shibboleth.utilities.java.support.component.ComponentInitializationException;
import net.shibboleth.utilities.java.support.net.CookieManager;
import net.shibboleth.utilities.java.support.net.ThreadLocalHttpServletRequestProxy;
-import net.shibboleth.utilities.java.support.net.ThreadLocalHttpServletResponseProxy;
+import net.shibboleth.utilities.java.support.net.ThreadLocalHttpServletRequestSupplier;
+import net.shibboleth.utilities.java.support.net.ThreadLocalHttpServletResponseSupplier;
import net.shibboleth.utilities.java.support.resource.Resource;
import net.shibboleth.utilities.java.support.security.DataSealer;
import net.shibboleth.utilities.java.support.security.impl.BasicKeystoreKeyStrategy;
@@ -53,8 +54,8 @@ public class AbstractBaseClientStorageServiceTest {
ss.setStorageName(STORAGE_NAME);
final CookieManager cm = new CookieManager();
- cm.setHttpServletRequest(new ThreadLocalHttpServletRequestProxy());
- cm.setHttpServletResponse(new ThreadLocalHttpServletResponseProxy());
+ cm.setHttpServletRequestSupplier(new ThreadLocalHttpServletRequestSupplier());
+ cm.setHttpServletResponseSupplier(new ThreadLocalHttpServletResponseSupplier());
cm.initialize();
ss.setCookieManager(cm);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list