Browse Source

Pull request #24: DEMO-4947 帮助文档 CAS Filter 用户登录日志级别ERROR改INFO

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

* commit '857af4e194b20aa373080e1a9e193e419a305edb':
  DEMO-4947 帮助文档 CAS Filter 用户登录日志级别ERROR改INFO
pull/6/head
Cloud.Liu 5 years ago
parent
commit
28dbfb3466
  1. 2
      src/main/java/com/fr/FrFilter.java

2
src/main/java/com/fr/FrFilter.java

@ -55,7 +55,7 @@ public class FrFilter implements Filter {
try { try {
//用户名为空,登录请求有问题,直接报错 //用户名为空,登录请求有问题,直接报错
if (StringUtils.isNotEmpty(username)) { if (StringUtils.isNotEmpty(username)) {
FineLoggerFactory.getLogger().error("username:" + username); FineLoggerFactory.getLogger().info("username:" + username);
//获取请求携带的token //获取请求携带的token
Object oldToken = session.getAttribute(DecisionServiceConstants.FINE_AUTH_TOKEN_NAME); Object oldToken = session.getAttribute(DecisionServiceConstants.FINE_AUTH_TOKEN_NAME);

Loading…
Cancel
Save