summaryrefslogtreecommitdiff
path: root/eaaf_modules/eaaf_module_pvp2_core/src/main/java/at/gv/egiz/eaaf/modules/pvp2/impl/binding/SoapBinding.java
diff options
context:
space:
mode:
authorThomas <>2023-08-30 18:33:01 +0200
committerThomas <>2023-08-30 18:33:01 +0200
commitf4e014993a75212023bb34497d4759b81ca39053 (patch)
tree7e8d7baa9b52ec79005132e43054871b2cafee24 /eaaf_modules/eaaf_module_pvp2_core/src/main/java/at/gv/egiz/eaaf/modules/pvp2/impl/binding/SoapBinding.java
parenta4562133d59d5f941bd31e1408945bbec4718351 (diff)
downloadEAAF-Components-f4e014993a75212023bb34497d4759b81ca39053.tar.gz
EAAF-Components-f4e014993a75212023bb34497d4759b81ca39053.tar.bz2
EAAF-Components-f4e014993a75212023bb34497d4759b81ca39053.zip
chore(saml2): remove some deprecated methods and switch to new one
Diffstat (limited to 'eaaf_modules/eaaf_module_pvp2_core/src/main/java/at/gv/egiz/eaaf/modules/pvp2/impl/binding/SoapBinding.java')
-rw-r--r--eaaf_modules/eaaf_module_pvp2_core/src/main/java/at/gv/egiz/eaaf/modules/pvp2/impl/binding/SoapBinding.java4
1 files changed, 2 insertions, 2 deletions
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);