Class PasswordPolicyInfo

java.lang.Object
oracle.iam.passwordmgmt.vo.PasswordPolicyInfo
All Implemented Interfaces:
Serializable

public class PasswordPolicyInfo extends Object implements Serializable
See Also:
  • Constructor Details

    • PasswordPolicyInfo

      public PasswordPolicyInfo()
  • Method Details

    • getName

      public String getName()
      Returns the policy name
      Returns:
      the policy name
    • setName

      public void setName(String name)
      Sets the policy name
      Parameters:
      name - the policy name
    • getId

      public String getId()
      Returns:
      the id (key)
    • setId

      public void setId(String id)
      Parameters:
      id - the id (key) to set
    • getShortDesc

      @Deprecated public String getShortDesc()
      Deprecated.
      please see getDesc()
    • setShortDesc

      @Deprecated public void setShortDesc(String desc)
      Deprecated.
      please see setDesc(desc)
    • getMaxLength

      public Integer getMaxLength()
      Gets the maximum length of the password
      Returns:
      the maxLength
    • setMaxLength

      public void setMaxLength(Integer maxLength)
      Sets the maximum length of the password
      Parameters:
      maxLength - the maxLength to set
    • getMinLength

      public Integer getMinLength()
      Gets the minimum length of the password
      Returns:
      the minLength
    • setMinLength

      public void setMinLength(Integer minLength)
      Sets the minimum length of the password
      Parameters:
      minLength - the minLength to set
    • getMinAlphabets

      public Integer getMinAlphabets()
      Gets the minimum alphabets allowed in the password
      Returns:
      the minAlphabets
    • setMinAlphabets

      public void setMinAlphabets(Integer minAlphabets)
      Sets the minimum alphabets allowed in the password
      Parameters:
      minAlphabets - the minAlphabets to set
    • getMinNumerals

      public Integer getMinNumerals()
      Gets the minimum numerals allowed in the password
      Returns:
      the minNumerals
    • setMinNumerals

      public void setMinNumerals(Integer minNumerals)
      Sets the minimum numerals allowed in the password
      Parameters:
      minNumerals - the minNumerals to set
    • getMinAlphaNumerals

      public Integer getMinAlphaNumerals()
      Gets the minimum alpha-numeric characters allowed in the password
      Returns:
      the minAlphaNumerals
    • setMinAlphaNumerals

      public void setMinAlphaNumerals(Integer minAlphaNumerals)
      Sets the minimum alpha-numeric characters allowed in the password
      Parameters:
      minAlphaNumerals - the minAlphaNumerals to set
    • getMinSpecialChars

      public Integer getMinSpecialChars()
      Gets the minimum special characters allowed in the password
      Returns:
      the minSpecialChars
    • setMinSpecialChars

      public void setMinSpecialChars(Integer minSpecialChars)
      Sets the minimum special characters allowed in the password
      Parameters:
      minSpecialChars - the minSpecialChars to set
    • getMaxSpecialChars

      public Integer getMaxSpecialChars()
      Gets the maximum special characters allowed in the password
      Returns:
      the maxSpecialChars
    • setMaxSpecialChars

      public void setMaxSpecialChars(Integer maxSpecialChars)
      Sets the maximum special characters allowed in the password
      Parameters:
      maxSpecialChars - the maxSpecialChars to set
    • getMinUpperCase

      public Integer getMinUpperCase()
      Gets the minimum upper case characters allowed in the password
      Returns:
      the minUpperCase
    • setMinUpperCase

      public void setMinUpperCase(Integer minUpperCase)
      Sets the minimum upper case characters allowed in the password
      Parameters:
      minUpperCase - the minUpperCase to set
    • getMinLowerCase

      public Integer getMinLowerCase()
      Gets the minimum lower case characters allowed in the password
      Returns:
      the minLowerCase
    • setMinLowerCase

      public void setMinLowerCase(Integer minLowerCase)
      Sets the minimum lower case characters allowed in the password
      Parameters:
      minLowerCase - the minLowerCase to set
    • getMinUniqueChars

      public Integer getMinUniqueChars()
      Gets the minimum unique characters allowed in the password
      Returns:
      the minUniqueChars
    • setMinUniqueChars

      public void setMinUniqueChars(Integer minUniqueChars)
      Sets the minimum unique characters allowed in the password
      Parameters:
      minUniqueChars - the minUniqueChars to set
    • getMaxRepeatedChars

      public Integer getMaxRepeatedChars()
      Gets the maximum number of characters that can be repeated in the password
      Returns:
      the maxRepeatedChars
    • setMaxRepeatedChars

      public void setMaxRepeatedChars(Integer maxRepeatedChars)
      Sets the maximum number of characters that can be repeated in the password
      Parameters:
      maxRepeatedChars - the maxRepeatedChars to set
    • getStartsWithAlphabet

      public Boolean getStartsWithAlphabet()
      Gets if the password can start with an alphabet
      Returns:
      the startsWithAlphabet
    • setStartsWithAlphabet

      public void setStartsWithAlphabet(Boolean startsWithAlphabet)
      Sets if the password can start with an alphabet
      Parameters:
      startsWithAlphabet - the startsWithAlphabet to set
    • getMinUnicodeChars

      public Integer getMinUnicodeChars()
      Gets the minimum unicode characters allowed in the password
      Returns:
      the minUnicodeChars
    • setMinUnicodeChars

      public void setMinUnicodeChars(Integer minUnicodeChars)
      Sets the minimum unicode characters allowed in the password
      Parameters:
      minUnicodeChars - the minUnicodeChars to set
    • getMaxUnicodeChars

      public Integer getMaxUnicodeChars()
      Gets the maximum unicode characters allowed in the password
      Returns:
      the maxUnicodeChars
    • setMaxUnicodeChars

      public void setMaxUnicodeChars(Integer maxUnicodeChars)
      Sets the maximum unicode characters allowed in the password
      Parameters:
      maxUnicodeChars - the maxUnicodeChars to set
    • isFirstNameDisallowed

      public Boolean isFirstNameDisallowed()
      Returns true if the user first name is not allowed in the password, false otherwise
      Returns:
      the firstNameDisallowed
    • setFirstNameDisallowed

      public void setFirstNameDisallowed(Boolean firstNameDisallowed)
      Sets true if the user first name is not allowed in the password, false otherwise
      Parameters:
      firstNameDisallowed - the firstNameDisallowed to set
    • isLastNameDisallowed

      public Boolean isLastNameDisallowed()
      Returns true if the user last name is not allowed in the password, false otherwise
      Returns:
      the lastNameDisallowed
    • setLastNameDisallowed

      public void setLastNameDisallowed(Boolean lastNameDisallowed)
      Sets true if the user last name is not allowed in the password, false otherwise
      Parameters:
      lastNameDisallowed - the lastNameDisallowed to set
    • isUserIdDisallowed

      public Boolean isUserIdDisallowed()
      Returns true if the user ID is not allowed in the password, false otherwise
      Returns:
      the userIdDisallowed
    • setUserIdDisallowed

      public void setUserIdDisallowed(Boolean userIdDisallowed)
      Sets true if the user ID is not allowed in the password, false otherwise
      Parameters:
      userIdDisallowed - the userIdDisallowed to set
    • isComplexPolicy

      public Boolean isComplexPolicy()
      Returns true if the password policy is a complex policy, false otherwise
      Returns:
      the complexPolicy
    • setComplexPolicy

      public void setComplexPolicy(Boolean complexPolicy)
      Sets true if the password policy is a complex policy, false otherwise
      Parameters:
      complexPolicy - the complexPolicy to set
    • getMinPasswordAgeInDays

      public Integer getMinPasswordAgeInDays()
      Gets the minimum age of the password as number of days
      Returns:
      the minPasswordAgeInDays
    • setMinPasswordAgeInDays

      public void setMinPasswordAgeInDays(Integer minPasswordAgeInDays)
      Sets the minimum age of the password as number of days
      Parameters:
      minPasswordAgeInDays - the minPasswordAgeInDays to set
    • getPasswordExpiresAfterInDays

      public Integer getPasswordExpiresAfterInDays()
      Returns the number of days after which the password will expire
      Returns:
      the passwordExpiresAfterInDays
    • setPasswordExpiresAfterInDays

      public void setPasswordExpiresAfterInDays(Integer passwordExpiresAfterInDays)
      Sets the number of days after which the password will expire
      Parameters:
      passwordExpiresAfterInDays - the passwordExpiresAfterInDays to set
    • getPasswordWarningAfterInDays

      public Integer getPasswordWarningAfterInDays()
      Returns the number of days after which the user will be warned of password expiration
      Returns:
      the passwordWarningAfterInDays
    • setPasswordWarningAfterInDays

      public void setPasswordWarningAfterInDays(Integer passwordWarningAfterInDays)
      Sets the number of days after which the user will be warned of password expiration
      Parameters:
      passwordWarningAfterInDays - the passwordWarningAfterInDays to set
    • getRequiredChars

      public Set<Character> getRequiredChars()
      Returns a Set of the characters required in a password
      Returns:
      the requiredChars
    • setRequiredChars

      public void setRequiredChars(Set<Character> requiredChars)
      Sets a Set of the characters required in a password
      Parameters:
      requiredChars - the requiredChars to set
    • getDisallowedChars

      public LinkedHashSet<Character> getDisallowedChars()
      Returns a Set of the characters disallowed in a password
      Returns:
      the disallowedChars
    • setDisallowedChars

      public void setDisallowedChars(LinkedHashSet<Character> disallowedChars)
      Sets a Set of the characters disallowed in a password
      Parameters:
      disallowedChars - the disallowedChars to set
    • getAllowedChars

      public LinkedHashSet<Character> getAllowedChars()
      Returns a Set of the characters allowed in a password
      Returns:
      the allowedChars
    • setAllowedChars

      public void setAllowedChars(LinkedHashSet<Character> allowedChars)
      Sets a Set of the characters allowed in a password
      Parameters:
      allowedChars - the allowedChars to set
    • getDisallowedSubstrings

      public Set<String> getDisallowedSubstrings()
      Returns a Set of the strings disallowed in a password
      Returns:
      the disallowedSubstrings
    • setDisallowedSubstrings

      public void setDisallowedSubstrings(Set<String> disallowedSubstrings)
      Sets a Set of the strings disallowed in a password
      Parameters:
      disallowedSubstrings - the disallowedSubstrings to set
    • getDictionaryLocation

      public String getDictionaryLocation()
      Returns the full path to the the dictionary file
      Returns:
      the dictionaryLocation
    • setDictionaryLocation

      public void setDictionaryLocation(String dictionaryLocation)
      Sets the full path to the the dictionary file
      Parameters:
      dictionaryLocation - the dictionaryLocation to set
    • getDictionaryDelimiter

      public Character getDictionaryDelimiter()
      Returns the delimiter used to separate 'characters' in the dictionary file
      Returns:
      the dictionaryDelimiter
    • setDictionaryDelimiter

      public void setDictionaryDelimiter(Character dictionaryDelimiter)
      Sets the delimiter used to separate 'characters' in the dictionary file
      Parameters:
      dictionaryDelimiter - the dictionaryDelimiter to set
    • getNumPasswordsInHistory

      public Integer getNumPasswordsInHistory()
      Gets the minimum number of passwords to be saved in history
      Returns:
      the numPasswordsInHistory
    • setNumPasswordsInHistory

      public void setNumPasswordsInHistory(Integer numPasswordsInHistory)
      Sets the minimum number of passwords saved in history
      Parameters:
      numPasswordsInHistory - the numPasswordsInHistory to set
    • getPriority

      public Integer getPriority()
      Gets the Password Policy Priority.
      Returns:
    • setPriority

      public void setPriority(Integer priority)
      Sets the Password Policy Priority.
      Parameters:
      priority -
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setLockoutDuration

      public void setLockoutDuration(Integer lockoutDuration)
      Sets the lockout period.
      Parameters:
      lockoutDuration -
    • getLockoutDuration

      public Integer getLockoutDuration()
      Gets the lockout period to set.
      Returns:
      lockoutDuration
    • setMaxIncorrectAttempts

      public void setMaxIncorrectAttempts(Integer maxIncorrectAttempts)
      Parameters:
      maxIncorrectAttempts - the maxIncorrectAttempts to set
    • getMaxIncorrectAttempts

      public Integer getMaxIncorrectAttempts()
      Returns:
      the maxIncorrectAttempts
    • setChSource

      public void setChSource(Integer chSource)
    • getChSource

      public Integer getChSource()
      Returns:
      chSource
    • setChDefaultQuestions

      public void setChDefaultQuestions(String chDefaultQuestions)
      Parameters:
      chDefaultQuestions -
    • getChDefaultQuestions

      public String getChDefaultQuestions()
      Gets the default challenge questions.
      Returns:
      chDefaultQuestions
    • setChMinQuestions

      public void setChMinQuestions(Integer chMinQuestions)
    • getChMinQuestions

      public Integer getChMinQuestions()
    • setChMinAnswers

      public void setChMinAnswers(Integer chMinAnswers)
    • getChMinAnswers

      public Integer getChMinAnswers()
    • setChAllAtOnce

      public void setChAllAtOnce(Boolean chAllAtOnce)
    • isChAllAtOnce

      public Boolean isChAllAtOnce()
    • setChResponseMinLength

      public void setChResponseMinLength(Integer chResponseMinLength)
    • getChResponseMinLength

      public Integer getChResponseMinLength()
    • setChAllowDuplicateResponses

      public void setChAllowDuplicateResponses(Boolean chAllowDuplicateResponses)
    • isChAllowDuplicateResponses

      public Boolean isChAllowDuplicateResponses()
    • setChSendMail

      public void setChSendMail(Boolean chSendMail)
    • isChSendMail

      public Boolean isChSendMail()
    • setChEnabled

      public void setChEnabled(Boolean chEnabled)
    • isChEnabled

      public Boolean isChEnabled()
    • setChMaxIncorrectAttempts

      public void setChMaxIncorrectAttempts(Integer chMaxIncorrectAttempts)
    • getChMaxIncorrectAttempts

      public Integer getChMaxIncorrectAttempts()
    • setDesc

      public void setDesc(String desc)
      Parameters:
      desc - description of the password policy
    • getDesc

      public String getDesc()
      Returns:
      the description of the password policy
    • getChDefaultSetOfQuestions

      public Set<String> getChDefaultSetOfQuestions()
    • setWhiteSpaceDisallowed

      public void setWhiteSpaceDisallowed(Boolean whiteSpaceDisallowed)
    • isWhiteSpaceDisallowed

      public Boolean isWhiteSpaceDisallowed()