I am writing a pair of aspects firstly to catch user names when a user successfully authenticated against my web app And second, when they explicitly log out, I have trouble finding spring framework methods which are called only once and therefore I will be allowed to capture this information.
We are using a basic Spring Security 3.0 configuration, our only one additional UserDetailsService implementation of our own.
Can anyone help?
It has been found that it was completely wrong to do so in the spring, There is a set of classrooms, which you can create an app listener to capture. Oddly, there is no "logout event", but very useful certification is achieving success, object attititionfilereventure, httprespiationsection event and HTPSSDriveredEvents. The most interesting of all is the RequestHandedEvent.
To capture them, I made my own intake which
org.springframework.context.ApplicationListener; Public void application ApplicationEvent (ApplicationEvent appEvent) on and override
In this I only if / my Various app types take the appropriate actions through event types and to track users and sessions.
Comments
Post a Comment