Browse Source

Merge pull request #18 in PG/plugin-report-doc-demo from ~CLOUD.LIU/plugin-report-doc-demo:release/10.0 to release/10.0

* commit '0fee1eaab2e6127095883a6cfdff46db9670df7a':
  DEC-10642 后台CAS登录后,token应放入request
release/10.0
Cloud.Liu 5 years ago
parent
commit
394c0dd1b9
  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