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