[java-support] branch maint-8 updated: IDP-1793 Use Suppliers for HttpRequest/Response
Rod Widdowson
rdw at steadingsoftware.com
Sun Aug 7 19:06:14 UTC 2022
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch maint-8
in repository java-support.
View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=618a7892c0b2aaab05a496f7445069665089178c
The following commit(s) were added to refs/heads/maint-8 by this push:
new 618a789 IDP-1793 Use Suppliers for HttpRequest/Response
618a789 is described below
commit 618a7892c0b2aaab05a496f7445069665089178c
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sun Aug 7 20:05:36 2022 +0100
IDP-1793 Use Suppliers for HttpRequest/Response
https://shibboleth.atlassian.net/browse/IDP-1793
Wind back the initializtion test by one indirection. It's too aggressive.
---
.../java/net/shibboleth/utilities/java/support/net/CookieManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/net/shibboleth/utilities/java/support/net/CookieManager.java b/src/main/java/net/shibboleth/utilities/java/support/net/CookieManager.java
index 40541b9..93cb33f 100644
--- a/src/main/java/net/shibboleth/utilities/java/support/net/CookieManager.java
+++ b/src/main/java/net/shibboleth/utilities/java/support/net/CookieManager.java
@@ -235,7 +235,7 @@ public final class CookieManager extends AbstractInitializableComponent {
protected void doInitialize() throws ComponentInitializationException {
super.doInitialize();
- if (getHttpServletRequest() == null || getHttpServletResponse() == null) {
+ if (httpRequestSupplier == null || httpResponseSupplier == null) {
throw new ComponentInitializationException("Servlet request and response must be set");
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list