Browse Source

DEC-10642 后台CAS登录后,token应放入request

release/11.0
Cloud.Liu 5 years ago
parent
commit
0fee1eaab2
  1. 2
      src/main/java/com/fr/FrFilter.java

2
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);
}

Loading…
Cancel
Save