Class X_AD_PasswordRule

    • Constructor Detail

      • X_AD_PasswordRule

        public X_AD_PasswordRule​(Properties ctx,
                                 int AD_PasswordRule_ID,
                                 String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        4 - System
      • initPO

        protected POInfo initPO​(Properties ctx)
        Load Meta Data
        Specified by:
        initPO in class PO
        Parameters:
        ctx - context
        Returns:
        POInfo
      • toString

        public String toString()
        Description copied from class: PO
        String representation
        Overrides:
        toString in class PO
        Returns:
        String representation
      • setAD_PasswordRule_ID

        public void setAD_PasswordRule_ID​(int AD_PasswordRule_ID)
        Set Password Policies.
        Specified by:
        setAD_PasswordRule_ID in interface I_AD_PasswordRule
        Parameters:
        AD_PasswordRule_ID - Password Policies
      • setAD_PasswordRule_UU

        public void setAD_PasswordRule_UU​(String AD_PasswordRule_UU)
        Set AD_PasswordRule_UU.
        Specified by:
        setAD_PasswordRule_UU in interface I_AD_PasswordRule
        Parameters:
        AD_PasswordRule_UU - AD_PasswordRule_UU
      • setAlphabeticalCharacter

        public void setAlphabeticalCharacter​(int AlphabeticalCharacter)
        Set Alphabetical Character.
        Specified by:
        setAlphabeticalCharacter in interface I_AD_PasswordRule
        Parameters:
        AlphabeticalCharacter - Require at least # alphabetical in passwords
      • getAlphabeticalCharacter

        public int getAlphabeticalCharacter()
        Get Alphabetical Character.
        Specified by:
        getAlphabeticalCharacter in interface I_AD_PasswordRule
        Returns:
        Require at least # alphabetical in passwords
      • setAlphabeticalSequence

        public void setAlphabeticalSequence​(int AlphabeticalSequence)
        Set Alphabetical Sequence.
        Specified by:
        setAlphabeticalSequence in interface I_AD_PasswordRule
        Parameters:
        AlphabeticalSequence - Lenght of alphabetical sequence to validate
      • getAlphabeticalSequence

        public int getAlphabeticalSequence()
        Get Alphabetical Sequence.
        Specified by:
        getAlphabeticalSequence in interface I_AD_PasswordRule
        Returns:
        Lenght of alphabetical sequence to validate
      • setDays_Reuse_Password

        public void setDays_Reuse_Password​(int Days_Reuse_Password)
        Set Days Reuse Password.
        Specified by:
        setDays_Reuse_Password in interface I_AD_PasswordRule
        Parameters:
        Days_Reuse_Password - Define number of day can reuser password
      • getDays_Reuse_Password

        public int getDays_Reuse_Password()
        Get Days Reuse Password.
        Specified by:
        getDays_Reuse_Password in interface I_AD_PasswordRule
        Returns:
        Define number of day can reuser password
      • setDigitCharacter

        public void setDigitCharacter​(int DigitCharacter)
        Set Digit Character.
        Specified by:
        setDigitCharacter in interface I_AD_PasswordRule
        Parameters:
        DigitCharacter - Require at least # digit in passwords
      • getDigitCharacter

        public int getDigitCharacter()
        Get Digit Character.
        Specified by:
        getDigitCharacter in interface I_AD_PasswordRule
        Returns:
        Require at least # digit in passwords
      • setIsDictMatchBackwards

        public void setIsDictMatchBackwards​(boolean IsDictMatchBackwards)
        Set Match Backwards of Dictionary.
        Specified by:
        setIsDictMatchBackwards in interface I_AD_PasswordRule
        Parameters:
        IsDictMatchBackwards - Match dictionary words backwards
      • isDictMatchBackwards

        public boolean isDictMatchBackwards()
        Get Match Backwards of Dictionary.
        Specified by:
        isDictMatchBackwards in interface I_AD_PasswordRule
        Returns:
        Match dictionary words backwards
      • setIsUserNameRule

        public void setIsUserNameRule​(boolean IsUserNameRule)
        Set User Name Rule.
        Specified by:
        setIsUserNameRule in interface I_AD_PasswordRule
        Parameters:
        IsUserNameRule - Validate the password doesn't contain user name (ignore case and match backwards)
      • isUserNameRule

        public boolean isUserNameRule()
        Get User Name Rule.
        Specified by:
        isUserNameRule in interface I_AD_PasswordRule
        Returns:
        Validate the password doesn't contain user name (ignore case and match backwards)
      • setIsUsingDictionary

        public void setIsUsingDictionary​(boolean IsUsingDictionary)
        Set Using Dictionary.
        Specified by:
        setIsUsingDictionary in interface I_AD_PasswordRule
        Parameters:
        IsUsingDictionary - Using Dictionary
      • setIsWhitespace

        public void setIsWhitespace​(boolean IsWhitespace)
        Set Whitespace.
        Specified by:
        setIsWhitespace in interface I_AD_PasswordRule
        Parameters:
        IsWhitespace - Whitespace validation
      • isWhitespace

        public boolean isWhitespace()
        Get Whitespace.
        Specified by:
        isWhitespace in interface I_AD_PasswordRule
        Returns:
        Whitespace validation
      • setLowercaseCharacter

        public void setLowercaseCharacter​(int LowercaseCharacter)
        Set Lowercase Character.
        Specified by:
        setLowercaseCharacter in interface I_AD_PasswordRule
        Parameters:
        LowercaseCharacter - Require at least # lower case char
      • getLowercaseCharacter

        public int getLowercaseCharacter()
        Get Lowercase Character.
        Specified by:
        getLowercaseCharacter in interface I_AD_PasswordRule
        Returns:
        Require at least # lower case char
      • setMaxLength

        public void setMaxLength​(int MaxLength)
        Set Maximum Length.
        Specified by:
        setMaxLength in interface I_AD_PasswordRule
        Parameters:
        MaxLength - Maximum Length of Data
      • getMaxLength

        public int getMaxLength()
        Get Maximum Length.
        Specified by:
        getMaxLength in interface I_AD_PasswordRule
        Returns:
        Maximum Length of Data
      • setMinLength

        public void setMinLength​(int MinLength)
        Set Minimum Length.
        Specified by:
        setMinLength in interface I_AD_PasswordRule
        Parameters:
        MinLength - Minimum Length
      • getMinLength

        public int getMinLength()
        Get Minimum Length.
        Specified by:
        getMinLength in interface I_AD_PasswordRule
        Returns:
        Minimum Length
      • setName

        public void setName​(String Name)
        Set Name.
        Specified by:
        setName in interface I_AD_PasswordRule
        Parameters:
        Name - Alphanumeric identifier of the entity
      • getKeyNamePair

        public KeyNamePair getKeyNamePair()
        Get Record ID/ColumnName
        Returns:
        ID/ColumnName pair
      • setNonAlphaNumericCharacter

        public void setNonAlphaNumericCharacter​(int NonAlphaNumericCharacter)
        Set Non Alpha Numeric Character.
        Specified by:
        setNonAlphaNumericCharacter in interface I_AD_PasswordRule
        Parameters:
        NonAlphaNumericCharacter - Require at least # non-alphanumeric char
      • getNonAlphaNumericCharacter

        public int getNonAlphaNumericCharacter()
        Get Non Alpha Numeric Character.
        Specified by:
        getNonAlphaNumericCharacter in interface I_AD_PasswordRule
        Returns:
        Require at least # non-alphanumeric char
      • setNumericalSequence

        public void setNumericalSequence​(int NumericalSequence)
        Set Numerical Sequence.
        Specified by:
        setNumericalSequence in interface I_AD_PasswordRule
        Parameters:
        NumericalSequence - Length of numerical sequence to validate
      • getNumericalSequence

        public int getNumericalSequence()
        Get Numerical Sequence.
        Specified by:
        getNumericalSequence in interface I_AD_PasswordRule
        Returns:
        Length of numerical sequence to validate
      • setPathDictionary

        public void setPathDictionary​(String PathDictionary)
        Set Path Dictionary.
        Specified by:
        setPathDictionary in interface I_AD_PasswordRule
        Parameters:
        PathDictionary - Path Dictionary
      • setQWERTYSequence

        public void setQWERTYSequence​(int QWERTYSequence)
        Set QWERTY Sequence.
        Specified by:
        setQWERTYSequence in interface I_AD_PasswordRule
        Parameters:
        QWERTYSequence - Lenght of QWERTY sequences to validate
      • getQWERTYSequence

        public int getQWERTYSequence()
        Get QWERTY Sequence.
        Specified by:
        getQWERTYSequence in interface I_AD_PasswordRule
        Returns:
        Lenght of QWERTY sequences to validate
      • setRepeatCharacterRegex

        public void setRepeatCharacterRegex​(int RepeatCharacterRegex)
        Set Repeat Character Regex.
        Specified by:
        setRepeatCharacterRegex in interface I_AD_PasswordRule
        Parameters:
        RepeatCharacterRegex - Length of repeated characters to validate
      • getRepeatCharacterRegex

        public int getRepeatCharacterRegex()
        Get Repeat Character Regex.
        Specified by:
        getRepeatCharacterRegex in interface I_AD_PasswordRule
        Returns:
        Length of repeated characters to validate
      • setUppercaseCharacter

        public void setUppercaseCharacter​(int UppercaseCharacter)
        Set Uppercase Character.
        Specified by:
        setUppercaseCharacter in interface I_AD_PasswordRule
        Parameters:
        UppercaseCharacter - Require at least # upper case char
      • getUppercaseCharacter

        public int getUppercaseCharacter()
        Get Uppercase Character.
        Specified by:
        getUppercaseCharacter in interface I_AD_PasswordRule
        Returns:
        Require at least # upper case char