Class PreAuthenticationChecks

java.lang.Object
io.jmix.core.security.PreAuthenticationChecks
All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsChecker

public class PreAuthenticationChecks extends Object implements org.springframework.security.core.userdetails.UserDetailsChecker
Verifies the status of the loaded UserDetails before validation of the credentials takes place. See AbstractUserDetailsAuthenticationProvider.setPreAuthenticationChecks(UserDetailsChecker).
  • Constructor Details

    • PreAuthenticationChecks

      public PreAuthenticationChecks()
  • 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 interface org.springframework.security.core.userdetails.UserDetailsChecker
    • firePreAuthenticationCheckEvent

      protected void firePreAuthenticationCheckEvent(org.springframework.security.core.userdetails.UserDetails user)