Package io.jmix.core.security.event
Class PreAuthenticationCheckEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
io.jmix.core.security.event.PreAuthenticationCheckEvent
- All Implemented Interfaces:
Serializable
public class PreAuthenticationCheckEvent
extends org.springframework.context.ApplicationEvent
Event is fired during authentication process to verify the status of the loaded UserDetails
before validation of the credentials takes place.
See
AbstractUserDetailsAuthenticationProvider.setPreAuthenticationChecks(UserDetailsChecker)
.- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionPreAuthenticationCheckEvent
(org.springframework.security.core.userdetails.UserDetails user) Create a newPreAuthenticationCheckEvent
. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.userdetails.UserDetails
getUser()
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
PreAuthenticationCheckEvent
public PreAuthenticationCheckEvent(org.springframework.security.core.userdetails.UserDetails user) Create a newPreAuthenticationCheckEvent
.- Parameters:
user
- -UserDetails
to validate.
-
-
Method Details
-
getUser
public org.springframework.security.core.userdetails.UserDetails getUser()- Returns:
UserDetails
to validate
-