Interface SimilarityBasedPasswordValidatorCfgClient

  • All Superinterfaces:
    ConfigurationClient, PasswordValidatorCfgClient

    public interface SimilarityBasedPasswordValidatorCfgClient
    extends PasswordValidatorCfgClient
    A client-side interface for reading and modifying Similarity Based Password Validator settings.

    The Similarity Based Password Validator determines whether a proposed password is acceptable by measuring how similar it is to the user's current password.

    • Method Detail

      • getJavaClass

        String getJavaClass()
        Gets the "java-class" property.

        Specifies the fully-qualified name of the Java class that provides the password validator implementation.

        Specified by:
        getJavaClass in interface PasswordValidatorCfgClient
        Returns:
        Returns the value of the "java-class" property.
      • setJavaClass

        void setJavaClass​(String value)
                   throws PropertyException
        Sets the "java-class" property.

        Specifies the fully-qualified name of the Java class that provides the password validator implementation.

        Specified by:
        setJavaClass in interface PasswordValidatorCfgClient
        Parameters:
        value - The value of the "java-class" property.
        Throws:
        PropertyException - If the new value is invalid.
      • getMinPasswordDifference

        Integer getMinPasswordDifference()
        Gets the "min-password-difference" property.

        Specifies the minimum difference of new and old password.

        A value of zero indicates that no difference between passwords is acceptable.

        Returns:
        Returns the value of the "min-password-difference" property.
      • setMinPasswordDifference

        void setMinPasswordDifference​(int value)
                               throws PropertyException
        Sets the "min-password-difference" property.

        Specifies the minimum difference of new and old password.

        A value of zero indicates that no difference between passwords is acceptable.

        Parameters:
        value - The value of the "min-password-difference" property.
        Throws:
        PropertyException - If the new value is invalid.