public class AuthenticationSuccessEvent
extends org.springframework.context.ApplicationEvent
AuthenticationManager
after user is successfully authenticated. There is an active
database transaction when the event is published.
SecurityContext
is set to AppContext
. It has system user
session that has full permissions in the system.
Constructor and Description |
---|
AuthenticationSuccessEvent(Credentials source,
AuthenticationDetails authenticationDetails) |
Modifier and Type | Method and Description |
---|---|
AuthenticationDetails |
getAuthenticationDetails() |
Credentials |
getSource() |
public AuthenticationSuccessEvent(Credentials source, AuthenticationDetails authenticationDetails)
public Credentials getSource()
getSource
in class java.util.EventObject
public AuthenticationDetails getAuthenticationDetails()