Class CompareAuthenticationHandler.Scheme

java.lang.Object
org.ldaptive.auth.CompareAuthenticationHandler.Scheme
Enclosing class:
CompareAuthenticationHandler

public static class CompareAuthenticationHandler.Scheme extends Object
Represents a password scheme used for attribute comparison.
  • Field Details

    • label

      private final String label
      Label of the scheme.
    • algorithm

      private final String algorithm
      Algorithm used by this scheme.
  • Constructor Details

    • Scheme

      public Scheme(String labelAndAlgorithm)
      Creates a new scheme.
      Parameters:
      labelAndAlgorithm - colon delimited label:algorithm
    • Scheme

      public Scheme(String l, String a)
      Creates a new scheme.
      Parameters:
      l - label
      a - algorithm
  • Method Details

    • getLabel

      public String getLabel()
      Returns the scheme label.
      Returns:
      label
    • getAlgorithm

      public String getAlgorithm()
      Returns the scheme algorithm.
      Returns:
      algorithm
    • toString

      public String toString()
      Overrides:
      toString in class Object