Class AbstractExtendedPasswordConstraint

  • All Implemented Interfaces:
    ExtendedPasswordConstraint, sailpoint.api.passwordConstraints.PasswordConstraint

    public abstract class AbstractExtendedPasswordConstraint
    extends sailpoint.api.passwordConstraints.AbstractPasswordConstraint
    implements ExtendedPasswordConstraint
    An abstract class for extended password constraints, which mainly exists to provide a default for the AbstractPasswordConstraint.generate() method and the admin flag functionality.
    • Field Detail

      • isAdmin

        protected boolean isAdmin
        Indicates whether the current check is being done by an admin.

        If true, the constraint may be skipped.

    • Method Detail

      • setAdmin

        public void setAdmin​(boolean isAdmin)
        Sets the admin flag for this constraint.
        Specified by:
        setAdmin in interface ExtendedPasswordConstraint
        Parameters:
        isAdmin - true if the current check is being done by an admin, false otherwise.