Browse Source

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

release/10.0
Cloud.Liu 5 years ago
parent
commit
857af4e194
  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