Class HTPasswdCredentialValidator

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

@ThreadSafeAfterInit public class HTPasswdCredentialValidator extends AbstractUsernamePasswordCredentialValidator
A password validator that authenticates against Apache htpasswd files.
  • Field Details

    • log

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

      Digester for SHA-1.
    • htPasswdResource

      @Nullable private Resource htPasswdResource
      Source of information.
    • lastModified

      private long lastModified
      File timestamp.
    • credentialMap

      @Nonnull private final Map<String,String> credentialMap
      In-memory copy of entries.
  • Constructor Details

    • HTPasswdCredentialValidator

      public HTPasswdCredentialValidator()
  • Method Details