文件名称:spring-security-eventlog:一个Grails插件来记录Spring安全事件
文件大小:368KB
文件格式:ZIP
更新时间:2024-06-01 08:44:25
grails spring-security Groovy
Spring Security Eventlog插件 这个插件创建一个简单的Spring安全事件日志。 每次用户登录或注销时,都会创建一个日志条目,其中存储了远程地址,会话ID,用户名,事件名称,切换的用户名以及事件发生的时间。 事件记录到名为SPRING_SECURITY_EVENT的表中,该表映射到域对象ca.redtoad.eventlog.SpringSecurityEvent。 每个事件都有以下字段: 用户名-输入的用户名 sessionId-用户的会话 eventName-事件的名称 remoteAddress-用户的IP地址 SwitchedUsername-切换到的用户名 dateCreated-事件的时间戳 捕获的一些事件名称: AuthenticationFailureBadCredentialsEvent-用户名或密码错误 AuthenticationSuc
【文件预览】:
spring-security-eventlog-master
----.gitignore(114B)
----wrapper()
--------grails-wrapper-runtime-2.3.5.jar(6KB)
--------grails-wrapper.properties(82B)
--------springloaded-core-1.1.4.jar(370KB)
----SpringSecurityEventlogGrailsPlugin.groovy(1KB)
----src()
--------groovy()
----.classpath(4KB)
----.travis.yml(99B)
----grailsw(9KB)
----.settings()
--------org.codehaus.groovy.eclipse.preferences.prefs(87B)
----grailsw.bat(6KB)
----README.md(3KB)
----application.properties(26B)
----.project(497B)
----.hgignore(89B)
----grails-app()
--------domain()
--------conf()
----test()
--------integration()