Class LDAPCredentialValidator

All Implemented Interfaces:
CredentialValidator, PrincipalSupportingComponent, Component, DestructableComponent, IdentifiableComponent, IdentifiedComponent, InitializableComponent

@ThreadSafeAfterInit public class LDAPCredentialValidator extends AbstractUsernamePasswordCredentialValidator
A password validator that authenticates against LDAP natively.
Since:
4.0.0
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • authenticator

      @Nonnull private Authenticator authenticator
      LDAP authenticator.
    • returnAttributes

      @Nullable private String[] returnAttributes
      Attributes to return from authentication.
    • passwordLookupStrategy

      @Nullable private Function<ProfileRequestContext,char[]> passwordLookupStrategy
      Optional strategy for obtaining/transforming the password.
  • Constructor Details

    • LDAPCredentialValidator

      public LDAPCredentialValidator()
  • Method Details