From f4e014993a75212023bb34497d4759b81ca39053 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Wed, 30 Aug 2023 18:33:01 +0200 Subject: chore(saml2): remove some deprecated methods and switch to new one --- .../java/at/gv/egiz/eaaf/modules/pvp2/impl/binding/SoapBinding.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eaaf_modules/eaaf_module_pvp2_core/src/main/java/at/gv/egiz/eaaf/modules/pvp2/impl/binding/SoapBinding.java') diff --git a/eaaf_modules/eaaf_module_pvp2_core/src/main/java/at/gv/egiz/eaaf/modules/pvp2/impl/binding/SoapBinding.java b/eaaf_modules/eaaf_module_pvp2_core/src/main/java/at/gv/egiz/eaaf/modules/pvp2/impl/binding/SoapBinding.java index cd651a1e..6c8a1682 100644 --- a/eaaf_modules/eaaf_module_pvp2_core/src/main/java/at/gv/egiz/eaaf/modules/pvp2/impl/binding/SoapBinding.java +++ b/eaaf_modules/eaaf_module_pvp2_core/src/main/java/at/gv/egiz/eaaf/modules/pvp2/impl/binding/SoapBinding.java @@ -66,7 +66,7 @@ public class SoapBinding extends AbstractBinding implements IDecoder, IEncoder { throws Pvp2Exception { final HTTPSOAP11Decoder soapDecoder = new HTTPSOAP11Decoder(); - soapDecoder.setHttpServletRequest(req); + soapDecoder.setHttpServletRequestSupplier(() -> req); injectMessageHandlerChain(soapDecoder, metadataProvider, peerEntityRole); @@ -136,7 +136,7 @@ public class SoapBinding extends AbstractBinding implements IDecoder, IEncoder { try { final HTTPSOAP11Encoder encoder = new HTTPSOAP11Encoder(); - encoder.setHttpServletResponse(resp); + encoder.setHttpServletResponseSupplier(() -> resp); // inject message context final MessageContext messageContext = buildBasicMessageContext(encoder, response); -- cgit v1.2.3