From 609a5582ac5874f8be6867b1caa55ed1f2de5767 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Thu, 11 May 2023 13:55:51 +0200 Subject: chore(core): update third-party libs --- eaaf_modules/eaaf_module_pvp2_core/pom.xml | 14 ++++++++++++++ .../egiz/eaaf/modules/pvp2/impl/binding/PostBinding.java | 3 ++- .../eaaf/modules/pvp2/impl/binding/RedirectBinding.java | 3 ++- 3 files changed, 18 insertions(+), 2 deletions(-) (limited to 'eaaf_modules') diff --git a/eaaf_modules/eaaf_module_pvp2_core/pom.xml b/eaaf_modules/eaaf_module_pvp2_core/pom.xml index c63ff939..184c45b1 100644 --- a/eaaf_modules/eaaf_module_pvp2_core/pom.xml +++ b/eaaf_modules/eaaf_module_pvp2_core/pom.xml @@ -168,4 +168,18 @@ + + + + shibboleth-release + https://build.shibboleth.net/maven/releases/ + + true + + + false + + + + diff --git a/eaaf_modules/eaaf_module_pvp2_core/src/main/java/at/gv/egiz/eaaf/modules/pvp2/impl/binding/PostBinding.java b/eaaf_modules/eaaf_module_pvp2_core/src/main/java/at/gv/egiz/eaaf/modules/pvp2/impl/binding/PostBinding.java index 829f771a..5936258d 100644 --- a/eaaf_modules/eaaf_module_pvp2_core/src/main/java/at/gv/egiz/eaaf/modules/pvp2/impl/binding/PostBinding.java +++ b/eaaf_modules/eaaf_module_pvp2_core/src/main/java/at/gv/egiz/eaaf/modules/pvp2/impl/binding/PostBinding.java @@ -54,6 +54,7 @@ import at.gv.egiz.eaaf.modules.pvp2.impl.verification.EaafSamlProtocolMessageXml import at.gv.egiz.eaaf.modules.pvp2.impl.verification.PvpSamlMessageHandlerChain; import lombok.extern.slf4j.Slf4j; import net.shibboleth.utilities.java.support.net.URIComparator; +import net.shibboleth.utilities.java.support.primitive.NonnullSupplier; @Slf4j public class PostBinding extends AbstractBinding implements IDecoder, IEncoder { @@ -203,7 +204,7 @@ public class PostBinding extends AbstractBinding implements IDecoder, IEncoder { final PvpSamlMessageHandlerChain messageValidatorChain = new PvpSamlMessageHandlerChain(); final ReceivedEndpointSecurityHandler endpointSecurityHandler = new ReceivedEndpointSecurityHandler(); - endpointSecurityHandler.setHttpServletRequest(req); + endpointSecurityHandler.setHttpServletRequestSupplier(NonnullSupplier.of(req)); endpointSecurityHandler.setURIComparator(comparator); messageValidatorChain.addHandler(new CheckMessageVersionHandler()); diff --git a/eaaf_modules/eaaf_module_pvp2_core/src/main/java/at/gv/egiz/eaaf/modules/pvp2/impl/binding/RedirectBinding.java b/eaaf_modules/eaaf_module_pvp2_core/src/main/java/at/gv/egiz/eaaf/modules/pvp2/impl/binding/RedirectBinding.java index c66c773e..edb5608f 100644 --- a/eaaf_modules/eaaf_module_pvp2_core/src/main/java/at/gv/egiz/eaaf/modules/pvp2/impl/binding/RedirectBinding.java +++ b/eaaf_modules/eaaf_module_pvp2_core/src/main/java/at/gv/egiz/eaaf/modules/pvp2/impl/binding/RedirectBinding.java @@ -49,6 +49,7 @@ import at.gv.egiz.eaaf.modules.pvp2.impl.opensaml.EaafHttpRedirectDeflateDecoder import at.gv.egiz.eaaf.modules.pvp2.impl.verification.EaafSaml2HttpRedirectDeflateSignatureSecurityHandler; import at.gv.egiz.eaaf.modules.pvp2.impl.verification.PvpSamlMessageHandlerChain; import net.shibboleth.utilities.java.support.net.URIComparator; +import net.shibboleth.utilities.java.support.primitive.NonnullSupplier; public class RedirectBinding extends AbstractBinding implements IDecoder, IEncoder { @@ -174,7 +175,7 @@ public class RedirectBinding extends AbstractBinding implements IDecoder, IEncod final PvpSamlMessageHandlerChain messageValidatorChain = new PvpSamlMessageHandlerChain(); final EaafSaml2HttpRedirectDeflateSignatureSecurityHandler redirectBindingSignaturHandler = new EaafSaml2HttpRedirectDeflateSignatureSecurityHandler(metadataProvider); - redirectBindingSignaturHandler.setHttpServletRequest(req); + redirectBindingSignaturHandler.setHttpServletRequestSupplier(NonnullSupplier.of(req)); messageValidatorChain.addHandler(new CheckMessageVersionHandler()); messageValidatorChain.addHandler(redirectBindingSignaturHandler); -- cgit v1.2.3