public class BeforeLoginEvent
extends org.springframework.context.ApplicationEvent
AuthenticationManager
before user is logged in. 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.
UserSession.isSystem()
,
AfterLoginEvent
,
Serialized FormConstructor and Description |
---|
BeforeLoginEvent(Credentials source) |
Modifier and Type | Method and Description |
---|---|
Credentials |
getCredentials() |
Credentials |
getSource() |
public BeforeLoginEvent(Credentials source)
public Credentials getSource()
getSource
in class java.util.EventObject
public Credentials getCredentials()