public class UserLoggedOutEvent
extends org.springframework.context.ApplicationEvent
AuthenticationManager
after user is logged out and session of the user has been
removed from user session storage. There is no active transaction at the moment of event publishing. Event handlers
must start a new transaction if they work with database.
SecurityContext
is set to AppContext
. It has system user
session that has full permissions in the system.UserLoggedInEvent
,
UserSession.isSystem()
,
Serialized FormConstructor and Description |
---|
UserLoggedOutEvent(UserSession source) |
Modifier and Type | Method and Description |
---|---|
UserSession |
getSource() |
UserSession |
getUserSession() |
public UserLoggedOutEvent(UserSession source)
public UserSession getSource()
getSource
in class java.util.EventObject
public UserSession getUserSession()