|
@@ -24,6 +24,8 @@ import com.google.common.collect.Lists;
|
|
import com.google.common.collect.Sets;
|
|
import com.google.common.collect.Sets;
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
|
+import org.slf4j.Logger;
|
|
|
|
+import org.slf4j.LoggerFactory;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
@@ -41,6 +43,8 @@ import java.util.Set;
|
|
@Service
|
|
@Service
|
|
public class AuthServiceImpl implements AuthService {
|
|
public class AuthServiceImpl implements AuthService {
|
|
|
|
|
|
|
|
+ private static final Logger log = LoggerFactory.getLogger(AuthServiceImpl.class);
|
|
|
|
+
|
|
@Autowired
|
|
@Autowired
|
|
LoginRuleService loginRuleService;
|
|
LoginRuleService loginRuleService;
|
|
|
|
|
|
@@ -346,6 +350,9 @@ public class AuthServiceImpl implements AuthService {
|
|
setSecurityIp(user, orgId);
|
|
setSecurityIp(user, orgId);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ log.warn("{}_LOGIN_IN#{}#{}#{}#{}", rootOrgName, user.getKey(), accountType, accountValue,
|
|
|
|
+ student != null ? student.getIdentityNumber() : "");
|
|
|
|
+
|
|
return user;
|
|
return user;
|
|
}
|
|
}
|
|
|
|
|