ソースを参照

删除测试日志

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