Interface SimilarityBasedPasswordValidatorCfg

  • All Superinterfaces:
    Configuration, PasswordValidatorCfg

    public interface SimilarityBasedPasswordValidatorCfg
    extends PasswordValidatorCfg
    A server-side interface for querying 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

      • addSimilarityBasedChangeListener

        void addSimilarityBasedChangeListener​(ConfigurationChangeListener<SimilarityBasedPasswordValidatorCfg> listener)
        Register to be notified when this Similarity Based Password Validator is changed.
        Parameters:
        listener - The Similarity Based Password Validator configuration change listener.
      • removeSimilarityBasedChangeListener

        void removeSimilarityBasedChangeListener​(ConfigurationChangeListener<SimilarityBasedPasswordValidatorCfg> listener)
        Deregister an existing Similarity Based Password Validator configuration change listener.
        Parameters:
        listener - The Similarity Based Password Validator configuration change listener.
      • getJavaClass

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

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

        Default value: org.opends.server.extensions.SimilarityBasedPasswordValidator

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

        int 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.