@Override protected UserDetailsChecker getPreAuthenticationChecks() { if (log.isDebugEnabled()) { log.debug("Invoking getPreAuthenticationChecks"); } return super.getPreAuthenticationChecks(); }
@Override public void setPreAuthenticationChecks(UserDetailsChecker preAuthenticationChecks) { if (log.isDebugEnabled()) { log.debug("Invoking setPreAuthenticationChecks"); } super.setPreAuthenticationChecks(preAuthenticationChecks); }
@Override protected UserDetailsChecker getPostAuthenticationChecks() { if (log.isDebugEnabled()) { log.debug("Invoking getPostAuthenticationChecks"); } return super.getPostAuthenticationChecks(); }
@Override public void setPostAuthenticationChecks(UserDetailsChecker postAuthenticationChecks) { if (log.isDebugEnabled()) { log.debug("Invoking setPostAuthenticationChecks"); } super.setPostAuthenticationChecks(postAuthenticationChecks); }
@Override public void setUserDetailsChecker(UserDetailsChecker userDetailsChecker) { Assert.notNull(userDetailsChecker, "userDetailsChacker cannot be null"); this.userDetailsChecker = userDetailsChecker; super.setUserDetailsChecker(userDetailsChecker); }
@Bean public UserDetailsChecker userDetailsChecker() { return new MolgenisUserDetailsChecker(); }
/** * Sets the strategy which will be used to validate the loaded <tt>UserDetails</tt> object * for the user. Defaults to an {@link org.springframework.security.authentication.AccountStatusUserDetailsChecker}. * @param userDetailsChecker The {@link UserDetailsChecker} to use. */ public void setUserDetailsChecker(UserDetailsChecker userDetailsChecker) { Assert.notNull(userDetailsChecker, "userDetailsChacker cannot be null"); this.userDetailsChecker = userDetailsChecker; }