Package io.jmix.core.security
Class PostAuthenticationChecks
java.lang.Object
io.jmix.core.security.PostAuthenticationChecks
- All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsChecker
public class PostAuthenticationChecks
extends Object
implements org.springframework.security.core.userdetails.UserDetailsChecker
Verifies the status of the loaded UserDetails after validation of the credentials takes place.
See
AbstractUserDetailsAuthenticationProvider.setPostAuthenticationChecks(UserDetailsChecker)
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
check
(org.springframework.security.core.userdetails.UserDetails user) protected void
firePostAuthenticationCheckEvent
(org.springframework.security.core.userdetails.UserDetails user) void
setEventPublisher
(org.springframework.context.ApplicationEventPublisher eventPublisher)
-
Constructor Details
-
PostAuthenticationChecks
public PostAuthenticationChecks()
-
-
Method Details
-
setEventPublisher
@Autowired public void setEventPublisher(org.springframework.context.ApplicationEventPublisher eventPublisher) -
check
public void check(org.springframework.security.core.userdetails.UserDetails user) - Specified by:
check
in interfaceorg.springframework.security.core.userdetails.UserDetailsChecker
-
firePostAuthenticationCheckEvent
protected void firePostAuthenticationCheckEvent(org.springframework.security.core.userdetails.UserDetails user)
-