From 7fd43026dab6daa77bc8a6c865625859cd92ce00 Mon Sep 17 00:00:00 2001 From: smallbun <2689170096@qq.com> Date: Thu, 9 Feb 2023 20:50:05 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/cn/topiam/employee/common/util/SamlUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eiam-common/src/main/java/cn/topiam/employee/common/util/SamlUtils.java b/eiam-common/src/main/java/cn/topiam/employee/common/util/SamlUtils.java index 851e6abb..9f544da8 100644 --- a/eiam-common/src/main/java/cn/topiam/employee/common/util/SamlUtils.java +++ b/eiam-common/src/main/java/cn/topiam/employee/common/util/SamlUtils.java @@ -189,14 +189,14 @@ public class SamlUtils { try { if (request.getMethod().equals(POST_METHOD)) { HTTPPostDecoder decoder = new HTTPPostDecoder(); - decoder.setHttpServletRequest(request); + decoder.setHttpServletRequestSupplier(() -> request); decoder.initialize(); decoder.decode(); return decoder.getMessageContext(); } //GET HTTPRedirectDeflateDecoder decoder = new HTTPRedirectDeflateDecoder(); - decoder.setHttpServletRequest(request); + decoder.setHttpServletRequestSupplier(() -> request); decoder.initialize(); decoder.decode(); return decoder.getMessageContext();