Jelajahi Sumber

删除测试日志

shuzheng 9 tahun lalu
induk
melakukan
e356b17f21

+ 0 - 2
zheng-upms/zheng-upms-server/src/main/java/com/zheng/upms/admin/realm/UpmsRealm.java

@@ -35,7 +35,6 @@ public class UpmsRealm extends AuthorizingRealm {
     protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principalCollection) {
         // 当前用户
         UpmsUser upmsUser = (UpmsUser) principalCollection.getPrimaryPrincipal();
-        _log.info("授权:upmsUser={}", upmsUser);
 
         // 全部权限 TODO
         Set<String> permissions = new HashSet<>();
@@ -56,7 +55,6 @@ public class UpmsRealm extends AuthorizingRealm {
     protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken authenticationToken) throws AuthenticationException {
         String username = (String) authenticationToken.getPrincipal();
         String password = new String((char[]) authenticationToken.getCredentials());
-        _log.info("认证:username={}, password={}", username, password);
 
         // 查询用户信息
         UpmsUserExample upmsUserExample = new UpmsUserExample();