2018-07-12 18:17:34,009 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/xs/home : HomeModule.home(HomeModule.java:20)
2018-07-12 18:17:34,011 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) DEBUG - Get 'homeModule'<class com.yunqi.modules.module.sys.HomeModule>
2018-07-12 18:17:34,012 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) DEBUG - >> Load definition name=homeModule
2018-07-12 18:17:34,012 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(homeModule) in AnnotationIocLoader(packages=[com.yunqi])
2018-07-12 18:17:34,012 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) DEBUG - >> Make...'homeModule'<class com.yunqi.modules.module.sys.HomeModule>
2018-07-12 18:17:34,012 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) DEBUG - Save object 'homeModule' to [app]
2018-07-12 18:17:34,012 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) DEBUG - Load class com.yunqi.modules.module.sys.HomeModule without AOP
2018-07-12 18:17:34,027 com.yunqi.common.processor.LogTimeProcessor.process(LogTimeProcessor.java:24) DEBUG - [ GET]URI=/xs/home 18ms
2018-07-12 18:17:34,028 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/xs/login : LoginModule.login(LoginModule.java:72)
2018-07-12 18:17:34,029 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) DEBUG - Get 'loginModule'<class com.yunqi.modules.module.sys.LoginModule>
2018-07-12 18:17:34,029 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) DEBUG - >> Load definition name=loginModule
2018-07-12 18:17:34,029 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(loginModule) in AnnotationIocLoader(packages=[com.yunqi])
2018-07-12 18:17:34,029 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) DEBUG - >> Make...'loginModule'<class com.yunqi.modules.module.sys.LoginModule>
2018-07-12 18:17:34,029 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) DEBUG - Save object 'loginModule' to [app]
2018-07-12 18:17:34,029 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) DEBUG - Load class com.yunqi.modules.module.sys.LoginModule without AOP
2018-07-12 18:17:34,032 org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:64) DEBUG - name=userService not found, search for type=com.yunqi.modules.service.sys.SysUserService
2018-07-12 18:17:34,032 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(conf) in JsonLoader(paths=[ioc/])
2018-07-12 18:17:34,033 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(dao) in JsonLoader(paths=[ioc/])
2018-07-12 18:17:34,033 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
2018-07-12 18:17:34,033 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(loginModule) in AnnotationIocLoader(packages=[com.yunqi])
2018-07-12 18:17:34,033 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(sysLogService) in AnnotationIocLoader(packages=[com.yunqi])
2018-07-12 18:17:34,033 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(homeModule) in AnnotationIocLoader(packages=[com.yunqi])
2018-07-12 18:17:34,034 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(logModule) in AnnotationIocLoader(packages=[com.yunqi])
2018-07-12 18:17:34,034 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(authorityService) in AnnotationIocLoader(packages=[com.yunqi])
2018-07-12 18:17:34,034 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(csrTagsModule) in AnnotationIocLoader(packages=[com.yunqi])
2018-07-12 18:17:34,034 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(dateUtil) in AnnotationIocLoader(packages=[com.yunqi])
2018-07-12 18:17:34,034 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(authorityModule) in AnnotationIocLoader(packages=[com.yunqi])
2018-07-12 18:17:34,034 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(userModule) in AnnotationIocLoader(packages=[com.yunqi])
2018-07-12 18:17:34,034 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(stringUtil) in AnnotationIocLoader(packages=[com.yunqi])
2018-07-12 18:17:34,035 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(sLogService) in AnnotationIocLoader(packages=[com.yunqi])
2018-07-12 18:17:34,035 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(sysUserService) in AnnotationIocLoader(packages=[com.yunqi])
2018-07-12 18:17:34,035 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) DEBUG - Get 'sysUserService'<class com.yunqi.modules.service.sys.SysUserService>
2018-07-12 18:17:34,035 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) DEBUG - >> Load definition name=sysUserService
2018-07-12 18:17:34,035 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(sysUserService) in AnnotationIocLoader(packages=[com.yunqi])
2018-07-12 18:17:34,035 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) DEBUG - >> Make...'sysUserService'<class com.yunqi.modules.service.sys.SysUserService>
2018-07-12 18:17:34,035 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) DEBUG - Save object 'sysUserService' to [app]
2018-07-12 18:17:34,035 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) DEBUG - Get 'dao'<>
2018-07-12 18:17:34,035 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) DEBUG - Load class com.yunqi.modules.service.sys.SysUserService without AOP
2018-07-12 18:17:34,036 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) DEBUG - Get 'dao'<>
2018-07-12 18:17:34,067 org.nutz.service.EntityService.<init>(EntityService.java:41) DEBUG - Get TypeParams for self : com.yunqi.modules.bean.sys.Sys_user
2018-07-12 18:17:34,068 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) DEBUG - Get 'sLogService'<class com.yunqi.common.slog.SLogService>
2018-07-12 18:17:34,068 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) DEBUG - >> Load definition name=sLogService
2018-07-12 18:17:34,068 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) DEBUG - Found IocObject(sLogService) in AnnotationIocLoader(packages=[com.yunqi])
2018-07-12 18:17:34,068 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) DEBUG - >> Make...'sLogService'<class com.yunqi.common.slog.SLogService>
2018-07-12 18:17:34,068 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) DEBUG - Save object 'sLogService' to [app]
2018-07-12 18:17:34,068 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) DEBUG - Load class com.yunqi.common.slog.SLogService without AOP
2018-07-12 18:17:34,071 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) DEBUG - Get 'dao'<interface org.nutz.dao.Dao>
2018-07-12 18:17:34,312 com.yunqi.common.processor.LogTimeProcessor.process(LogTimeProcessor.java:24) DEBUG - [ GET]URI=/xs/login 283ms
2018-07-12 18:17:34,324 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/xs/captcha : LoginModule.next(LoginModule.java:181)
2018-07-12 18:17:34,324 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) DEBUG - Get 'loginModule'<class com.yunqi.modules.module.sys.LoginModule>
2018-07-12 18:17:34,674 com.yunqi.common.processor.LogTimeProcessor.process(LogTimeProcessor.java:24) DEBUG - [ GET]URI=/xs/captcha 350ms
2018-07-12 18:17:38,855 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [POST] path=/xs/doLogin : LoginModule.doLogin(LoginModule.java:83)
2018-07-12 18:17:38,858 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) DEBUG - Get 'loginModule'<class com.yunqi.modules.module.sys.LoginModule>
password == 11111111
2018-07-12 18:17:38,861 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) DEBUG - Get 'sysUserService'<class com.yunqi.modules.service.sys.SysUserService>
2018-07-12 18:17:38,866 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM sys_user WHERE name=? LIMIT 0, 1
| 1 |
|-------|
| admin |
For example:> "SELECT * FROM sys_user WHERE name='admin' LIMIT 0, 1 "
user.getPassword()5ec0dbfa19a850eeedcaba3bb9fc0372f60c6e815c9dffad14afdab68866641f
2018-07-12 18:17:38,880 org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:572) DEBUG - Looked up AuthenticationInfo [/*com.yunqi.modules.bean.sys.Sys_user@6945c30d*/{"id":"297bd939e833445c920e35e078689751","name":"admin","password":"5ec0dbfa19a850eeedcaba3bb9fc0372f60c6e815c9dffad14afdab68866641f","salt":"41d1336535da4295aa891fedd4292246","isOnline":true,"locked":false,"loginAt":1531388527,"loginCount":28,"opBy":"","opAt":1531219874,"delFlag":false}] from doGetAuthenticationInfo
2018-07-12 18:17:38,880 org.apache.shiro.realm.AuthenticatingRealm.cacheAuthenticationInfoIfPossible(AuthenticatingRealm.java:510) DEBUG - AuthenticationInfo caching is disabled for info [/*com.yunqi.modules.bean.sys.Sys_user@6945c30d*/{"id":"297bd939e833445c920e35e078689751","name":"admin","password":"5ec0dbfa19a850eeedcaba3bb9fc0372f60c6e815c9dffad14afdab68866641f","salt":"41d1336535da4295aa891fedd4292246","isOnline":true,"locked":false,"loginAt":1531388527,"loginCount":28,"opBy":"","opAt":1531219874,"delFlag":false}]. Submitted token: [com.yunqi.common.shiro.realm.CaptchaToken - admin, rememberMe=false (0:0:0:0:0:0:0:1)].
2018-07-12 18:17:38,880 org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:233) DEBUG - Authentication successful for token [com.yunqi.common.shiro.realm.CaptchaToken - admin, rememberMe=false (0:0:0:0:0:0:0:1)]. Returned account [/*com.yunqi.modules.bean.sys.Sys_user@6945c30d*/{"id":"297bd939e833445c920e35e078689751","name":"admin","password":"5ec0dbfa19a850eeedcaba3bb9fc0372f60c6e815c9dffad14afdab68866641f","salt":"41d1336535da4295aa891fedd4292246","isOnline":true,"locked":false,"loginAt":1531388527,"loginCount":28,"opBy":"","opAt":1531219874,"delFlag":false}]
2018-07-12 18:17:38,880 org.apache.shiro.subject.support.DefaultSubjectContext.resolveSecurityManager(DefaultSubjectContext.java:101) DEBUG - No SecurityManager available in subject context map. Falling back to SecurityUtils.getSecurityManager() lookup.
2018-07-12 18:17:38,881 org.apache.shiro.mgt.DefaultSecurityManager.resolveSession(DefaultSecurityManager.java:440) DEBUG - Context already contains a session. Returning.
2018-07-12 18:17:38,881 org.apache.shiro.subject.support.DefaultSubjectContext.resolveSecurityManager(DefaultSubjectContext.java:101) DEBUG - No SecurityManager available in subject context map. Falling back to SecurityUtils.getSecurityManager() lookup.
2018-07-12 18:17:38,882 org.apache.shiro.web.servlet.SimpleCookie.addCookieHeader(SimpleCookie.java:226) DEBUG - Added HttpServletResponse Cookie [rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Wed, 11-Jul-2018 10:17:38 GMT]
2018-07-12 18:17:38,882 org.apache.shiro.mgt.AbstractRememberMeManager.onSuccessfulLogin(AbstractRememberMeManager.java:290) DEBUG - AuthenticationToken did not indicate RememberMe is requested. RememberMe functionality will not be executed for corresponding account.
密码是 == 5ec0dbfa19a850eeedcaba3bb9fc0372f60c6e815c9dffad14afdab68866641f
2018-07-12 18:17:38,888 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - UPDATE sys_user SET loginIp=?,loginAt=?,loginCount=?,isOnline=? WHERE id=?
| 1 | 2 | 3 | 4 | 5 |
|------|------------|----|------|----------------------------------|
| NULL | 1531390658 | 29 | true | 297bd939e833445c920e35e078689751 |
For example:> "UPDATE sys_user SET loginIp=NULL,loginAt=1531390658,loginCount=29,isOnline=true WHERE id='297bd939e833445c920e35e078689751'"
2018-07-12 18:17:38,939 com.yunqi.common.processor.LogTimeProcessor.process(LogTimeProcessor.java:24) DEBUG - [POST]URI=/xs/doLogin 84ms
2018-07-12 18:17:38,946 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/xs/home : HomeModule.home(HomeModule.java:20)
2018-07-12 18:17:38,946 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - INSERT INTO sys_log(name,type,tag,src,ip,msg,param,result,opBy,opAt,delFlag) VALUES(?,?,?,?,?,?,?,?,?,?,?)
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|-------|------|------|--------------------------------------------------|-----------------|---------|------|------|----------------------------------|------------|------|
| admin | info | 用户登陆 | com.yunqi.modules.module.sys.LoginModule#doLogin | 0:0:0:0:0:0:0:1 | 成功登录系统! | NULL | NULL | 297bd939e833445c920e35e078689751 | 1531390658 | NULL |
For example:> "INSERT INTO sys_log(name,type,tag,src,ip,msg,param,result,opBy,opAt,delFlag) VALUES('admin','info','用户登陆','com.yunqi.modules.module.sys.LoginModule#doLogin','0:0:0:0:0:0:0:1','成功登录系统!',NULL,NULL,'297bd939e833445c920e35e078689751',1531390658,NULL) "
2018-07-12 18:17:38,947 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) DEBUG - Get 'homeModule'<class com.yunqi.modules.module.sys.HomeModule>
2018-07-12 18:17:38,981 com.yunqi.common.processor.LogTimeProcessor.process(LogTimeProcessor.java:24) DEBUG - [ GET]URI=/xs/home 35ms
登录的时候 没用验证密码正确性