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.
Since:
4.0.0
  • 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

      @Nullable private long lastModified
      File timestamp.
    • credentialMap

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

    • HTPasswdCredentialValidator

      public HTPasswdCredentialValidator()
      Constructor.
  • Method Details