mirror of
https://gitee.com/jamen/slife.git
synced 2026-11-03 15:53:39 +00:00
把 多数据 动态切换 砍掉了,
This commit is contained in:
@@ -69,7 +69,6 @@ public class AuthRealm extends AuthorizingRealm {
|
||||
protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken token) throws AuthenticationException {
|
||||
String loginName=((UsernamePasswordToken) token).getUsername();
|
||||
ISysUserService sysUserService = ApplicationContextRegister.getBean(ISysUserService.class);
|
||||
|
||||
SysUser sysUser = sysUserService.getByLoginName(loginName);
|
||||
if (sysUser != null) {
|
||||
logger.info(sysUser.getName()+"登录");
|
||||
|
||||
Reference in New Issue
Block a user