From 0fee1eaab2e6127095883a6cfdff46db9670df7a Mon Sep 17 00:00:00 2001 From: "Cloud.Liu" Date: Wed, 30 Oct 2019 16:04:29 +0800 Subject: [PATCH] =?UTF-8?q?DEC-10642=20=E5=90=8E=E5=8F=B0CAS=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E5=90=8E=EF=BC=8Ctoken=E5=BA=94=E6=94=BE=E5=85=A5requ?= =?UTF-8?q?est?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/fr/FrFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/fr/FrFilter.java b/src/main/java/com/fr/FrFilter.java index c90d9b4..c272d95 100644 --- a/src/main/java/com/fr/FrFilter.java +++ b/src/main/java/com/fr/FrFilter.java @@ -81,7 +81,7 @@ public class FrFilter implements Filter { */ private void login(HttpServletRequest req, HttpServletResponse res, HttpSession session, String username) throws Exception { String token = LoginService.getInstance().login(req, res, username); - session.setAttribute(DecisionServiceConstants.FINE_AUTH_TOKEN_NAME, token); + req.setAttribute(DecisionServiceConstants.FINE_AUTH_TOKEN_NAME, token); FineLoggerFactory.getLogger().info("fr FrFilter is over with username is ###" + username); }