Class CompareAuthenticationHandler.Scheme

  • Enclosing class:
    CompareAuthenticationHandler

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

      • label

        private final String label
        Label of the scheme.
      • algorithm

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

      • 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 Detail

      • getLabel

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

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