[java-idp-testbed] branch maint-4 updated: Stop using deprecated setters.
Scott Cantor
cantor.2 at osu.edu
Mon Dec 5 14:48:57 UTC 2022
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch maint-4
in repository java-idp-testbed.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-testbed.git;a=commit;h=4b817a7b7a50fe51150c99f2588f4619841f3711
The following commit(s) were added to refs/heads/maint-4 by this push:
new 4b817a7 Stop using deprecated setters.
4b817a7 is described below
commit 4b817a7b7a50fe51150c99f2588f4619841f3711
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Dec 5 09:48:54 2022 -0500
Stop using deprecated setters.
---
src/main/java/sp/BaseSAMLController.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/main/java/sp/BaseSAMLController.java b/src/main/java/sp/BaseSAMLController.java
index 6c3bc54..19256a9 100644
--- a/src/main/java/sp/BaseSAMLController.java
+++ b/src/main/java/sp/BaseSAMLController.java
@@ -20,6 +20,7 @@ package sp;
import javax.servlet.http.HttpServletRequest;
import net.shibboleth.utilities.java.support.component.ComponentInitializationException;
+import net.shibboleth.utilities.java.support.primitive.NonnullSupplier;
import net.shibboleth.utilities.java.support.security.IdentifierGenerationStrategy;
import net.shibboleth.utilities.java.support.security.impl.Type4UUIDIdentifierGenerationStrategy;
import net.shibboleth.utilities.java.support.xml.ParserPool;
@@ -64,7 +65,7 @@ public abstract class BaseSAMLController {
throws Exception {
HTTPPostDecoder decoder = new HTTPPostDecoder();
try {
- decoder.setHttpServletRequest(servletRequest);
+ decoder.setHttpServletRequestSupplier(NonnullSupplier.of(servletRequest));
decoder.setParserPool(parserPool);
decoder.initialize();
@@ -83,7 +84,7 @@ public abstract class BaseSAMLController {
throws Exception {
HTTPSOAP11Decoder decoder = new HTTPSOAP11Decoder();
try {
- decoder.setHttpServletRequest(servletRequest);
+ decoder.setHttpServletRequestSupplier(NonnullSupplier.of(servletRequest));
decoder.setParserPool(parserPool);
decoder.initialize();
@@ -102,7 +103,7 @@ public abstract class BaseSAMLController {
throws Exception {
HTTPRedirectDeflateDecoder decoder = new HTTPRedirectDeflateDecoder();
try {
- decoder.setHttpServletRequest(servletRequest);
+ decoder.setHttpServletRequestSupplier(NonnullSupplier.of(servletRequest));
decoder.setParserPool(parserPool);
decoder.initialize();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list