diff options
author | Thomas <> | 2023-05-11 13:55:51 +0200 |
---|---|---|
committer | Thomas <> | 2023-05-11 13:55:51 +0200 |
commit | 609a5582ac5874f8be6867b1caa55ed1f2de5767 (patch) | |
tree | 366fae7e65394a9c95d97bac72a09a05fe3a92d1 /eaaf_modules | |
parent | 13da938658e0f799a7c89faadcfbbfee95a220d8 (diff) | |
download | EAAF-Components-609a5582ac5874f8be6867b1caa55ed1f2de5767.tar.gz EAAF-Components-609a5582ac5874f8be6867b1caa55ed1f2de5767.tar.bz2 EAAF-Components-609a5582ac5874f8be6867b1caa55ed1f2de5767.zip |
chore(core): update third-party libs
Diffstat (limited to 'eaaf_modules')
3 files changed, 18 insertions, 2 deletions
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 @@ </plugins> </build> + + <repositories> + <repository> + <id>shibboleth-release</id> + <url>https://build.shibboleth.net/maven/releases/</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + </repositories> + </project> 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); |