Package oracle.iam.passwordmgmt.vo
Class PasswordPolicyInfo
java.lang.Object
oracle.iam.passwordmgmt.vo.PasswordPolicyInfo
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns aSetof the characters allowed in a passwordGets the default challenge questions.getDesc()Returns the delimiter used to separate 'characters' in the dictionary fileReturns the full path to the the dictionary fileReturns aSetof the characters disallowed in a passwordReturns aSetof the strings disallowed in a passwordgetId()Gets the lockout period to set.Gets the maximum length of the passwordGets the maximum number of characters that can be repeated in the passwordGets the maximum special characters allowed in the passwordGets the maximum unicode characters allowed in the passwordGets the minimum alphabets allowed in the passwordGets the minimum alpha-numeric characters allowed in the passwordGets the minimum length of the passwordGets the minimum lower case characters allowed in the passwordGets the minimum numerals allowed in the passwordGets the minimum age of the password as number of daysGets the minimum special characters allowed in the passwordGets the minimum unicode characters allowed in the passwordGets the minimum unique characters allowed in the passwordGets the minimum upper case characters allowed in the passwordgetName()Returns the policy nameGets the minimum number of passwords to be saved in historyReturns the number of days after which the password will expireReturns the number of days after which the user will be warned of password expirationGets the Password Policy Priority.Returns aSetof the characters required in a passwordDeprecated.Gets if the password can start with an alphabetReturns true if the password policy is a complex policy, false otherwiseReturns true if the user first name is not allowed in the password, false otherwiseReturns true if the user last name is not allowed in the password, false otherwiseReturns true if the user ID is not allowed in the password, false otherwisevoidsetAllowedChars(LinkedHashSet<Character> allowedChars) Sets aSetof the characters allowed in a passwordvoidsetChAllAtOnce(Boolean chAllAtOnce) voidsetChAllowDuplicateResponses(Boolean chAllowDuplicateResponses) voidsetChDefaultQuestions(String chDefaultQuestions) voidsetChEnabled(Boolean chEnabled) voidsetChMaxIncorrectAttempts(Integer chMaxIncorrectAttempts) voidsetChMinAnswers(Integer chMinAnswers) voidsetChMinQuestions(Integer chMinQuestions) voidsetChResponseMinLength(Integer chResponseMinLength) voidsetChSendMail(Boolean chSendMail) voidsetChSource(Integer chSource) voidsetComplexPolicy(Boolean complexPolicy) Sets true if the password policy is a complex policy, false otherwisevoidvoidsetDictionaryDelimiter(Character dictionaryDelimiter) Sets the delimiter used to separate 'characters' in the dictionary filevoidsetDictionaryLocation(String dictionaryLocation) Sets the full path to the the dictionary filevoidsetDisallowedChars(LinkedHashSet<Character> disallowedChars) Sets aSetof the characters disallowed in a passwordvoidsetDisallowedSubstrings(Set<String> disallowedSubstrings) Sets aSetof the strings disallowed in a passwordvoidsetFirstNameDisallowed(Boolean firstNameDisallowed) Sets true if the user first name is not allowed in the password, false otherwisevoidvoidsetLastNameDisallowed(Boolean lastNameDisallowed) Sets true if the user last name is not allowed in the password, false otherwisevoidsetLockoutDuration(Integer lockoutDuration) Sets the lockout period.voidsetMaxIncorrectAttempts(Integer maxIncorrectAttempts) voidsetMaxLength(Integer maxLength) Sets the maximum length of the passwordvoidsetMaxRepeatedChars(Integer maxRepeatedChars) Sets the maximum number of characters that can be repeated in the passwordvoidsetMaxSpecialChars(Integer maxSpecialChars) Sets the maximum special characters allowed in the passwordvoidsetMaxUnicodeChars(Integer maxUnicodeChars) Sets the maximum unicode characters allowed in the passwordvoidsetMinAlphabets(Integer minAlphabets) Sets the minimum alphabets allowed in the passwordvoidsetMinAlphaNumerals(Integer minAlphaNumerals) Sets the minimum alpha-numeric characters allowed in the passwordvoidsetMinLength(Integer minLength) Sets the minimum length of the passwordvoidsetMinLowerCase(Integer minLowerCase) Sets the minimum lower case characters allowed in the passwordvoidsetMinNumerals(Integer minNumerals) Sets the minimum numerals allowed in the passwordvoidsetMinPasswordAgeInDays(Integer minPasswordAgeInDays) Sets the minimum age of the password as number of daysvoidsetMinSpecialChars(Integer minSpecialChars) Sets the minimum special characters allowed in the passwordvoidsetMinUnicodeChars(Integer minUnicodeChars) Sets the minimum unicode characters allowed in the passwordvoidsetMinUniqueChars(Integer minUniqueChars) Sets the minimum unique characters allowed in the passwordvoidsetMinUpperCase(Integer minUpperCase) Sets the minimum upper case characters allowed in the passwordvoidSets the policy namevoidsetNumPasswordsInHistory(Integer numPasswordsInHistory) Sets the minimum number of passwords saved in historyvoidsetPasswordExpiresAfterInDays(Integer passwordExpiresAfterInDays) Sets the number of days after which the password will expirevoidsetPasswordWarningAfterInDays(Integer passwordWarningAfterInDays) Sets the number of days after which the user will be warned of password expirationvoidsetPriority(Integer priority) Sets the Password Policy Priority.voidsetRequiredChars(Set<Character> requiredChars) Sets aSetof the characters required in a passwordvoidsetShortDesc(String desc) Deprecated.please seesetDesc(desc)voidsetStartsWithAlphabet(Boolean startsWithAlphabet) Sets if the password can start with an alphabetvoidsetUserIdDisallowed(Boolean userIdDisallowed) Sets true if the user ID is not allowed in the password, false otherwisevoidsetWhiteSpaceDisallowed(Boolean whiteSpaceDisallowed) toString()
-
Constructor Details
-
PasswordPolicyInfo
public PasswordPolicyInfo()
-
-
Method Details
-
getName
Returns the policy name- Returns:
- the policy name
-
setName
Sets the policy name- Parameters:
name- the policy name
-
getId
- Returns:
- the id (key)
-
setId
- Parameters:
id- the id (key) to set
-
getShortDesc
Deprecated.please seegetDesc() -
setShortDesc
Deprecated.please seesetDesc(desc) -
getMaxLength
Gets the maximum length of the password- Returns:
- the maxLength
-
setMaxLength
Sets the maximum length of the password- Parameters:
maxLength- the maxLength to set
-
getMinLength
Gets the minimum length of the password- Returns:
- the minLength
-
setMinLength
Sets the minimum length of the password- Parameters:
minLength- the minLength to set
-
getMinAlphabets
Gets the minimum alphabets allowed in the password- Returns:
- the minAlphabets
-
setMinAlphabets
Sets the minimum alphabets allowed in the password- Parameters:
minAlphabets- the minAlphabets to set
-
getMinNumerals
Gets the minimum numerals allowed in the password- Returns:
- the minNumerals
-
setMinNumerals
Sets the minimum numerals allowed in the password- Parameters:
minNumerals- the minNumerals to set
-
getMinAlphaNumerals
Gets the minimum alpha-numeric characters allowed in the password- Returns:
- the minAlphaNumerals
-
setMinAlphaNumerals
Sets the minimum alpha-numeric characters allowed in the password- Parameters:
minAlphaNumerals- the minAlphaNumerals to set
-
getMinSpecialChars
Gets the minimum special characters allowed in the password- Returns:
- the minSpecialChars
-
setMinSpecialChars
Sets the minimum special characters allowed in the password- Parameters:
minSpecialChars- the minSpecialChars to set
-
getMaxSpecialChars
Gets the maximum special characters allowed in the password- Returns:
- the maxSpecialChars
-
setMaxSpecialChars
Sets the maximum special characters allowed in the password- Parameters:
maxSpecialChars- the maxSpecialChars to set
-
getMinUpperCase
Gets the minimum upper case characters allowed in the password- Returns:
- the minUpperCase
-
setMinUpperCase
Sets the minimum upper case characters allowed in the password- Parameters:
minUpperCase- the minUpperCase to set
-
getMinLowerCase
Gets the minimum lower case characters allowed in the password- Returns:
- the minLowerCase
-
setMinLowerCase
Sets the minimum lower case characters allowed in the password- Parameters:
minLowerCase- the minLowerCase to set
-
getMinUniqueChars
Gets the minimum unique characters allowed in the password- Returns:
- the minUniqueChars
-
setMinUniqueChars
Sets the minimum unique characters allowed in the password- Parameters:
minUniqueChars- the minUniqueChars to set
-
getMaxRepeatedChars
Gets the maximum number of characters that can be repeated in the password- Returns:
- the maxRepeatedChars
-
setMaxRepeatedChars
Sets the maximum number of characters that can be repeated in the password- Parameters:
maxRepeatedChars- the maxRepeatedChars to set
-
getStartsWithAlphabet
Gets if the password can start with an alphabet- Returns:
- the startsWithAlphabet
-
setStartsWithAlphabet
Sets if the password can start with an alphabet- Parameters:
startsWithAlphabet- the startsWithAlphabet to set
-
getMinUnicodeChars
Gets the minimum unicode characters allowed in the password- Returns:
- the minUnicodeChars
-
setMinUnicodeChars
Sets the minimum unicode characters allowed in the password- Parameters:
minUnicodeChars- the minUnicodeChars to set
-
getMaxUnicodeChars
Gets the maximum unicode characters allowed in the password- Returns:
- the maxUnicodeChars
-
setMaxUnicodeChars
Sets the maximum unicode characters allowed in the password- Parameters:
maxUnicodeChars- the maxUnicodeChars to set
-
isFirstNameDisallowed
Returns true if the user first name is not allowed in the password, false otherwise- Returns:
- the firstNameDisallowed
-
setFirstNameDisallowed
Sets true if the user first name is not allowed in the password, false otherwise- Parameters:
firstNameDisallowed- the firstNameDisallowed to set
-
isLastNameDisallowed
Returns true if the user last name is not allowed in the password, false otherwise- Returns:
- the lastNameDisallowed
-
setLastNameDisallowed
Sets true if the user last name is not allowed in the password, false otherwise- Parameters:
lastNameDisallowed- the lastNameDisallowed to set
-
isUserIdDisallowed
Returns true if the user ID is not allowed in the password, false otherwise- Returns:
- the userIdDisallowed
-
setUserIdDisallowed
Sets true if the user ID is not allowed in the password, false otherwise- Parameters:
userIdDisallowed- the userIdDisallowed to set
-
isComplexPolicy
Returns true if the password policy is a complex policy, false otherwise- Returns:
- the complexPolicy
-
setComplexPolicy
Sets true if the password policy is a complex policy, false otherwise- Parameters:
complexPolicy- the complexPolicy to set
-
getMinPasswordAgeInDays
Gets the minimum age of the password as number of days- Returns:
- the minPasswordAgeInDays
-
setMinPasswordAgeInDays
Sets the minimum age of the password as number of days- Parameters:
minPasswordAgeInDays- the minPasswordAgeInDays to set
-
getPasswordExpiresAfterInDays
Returns the number of days after which the password will expire- Returns:
- the passwordExpiresAfterInDays
-
setPasswordExpiresAfterInDays
Sets the number of days after which the password will expire- Parameters:
passwordExpiresAfterInDays- the passwordExpiresAfterInDays to set
-
getPasswordWarningAfterInDays
Returns the number of days after which the user will be warned of password expiration- Returns:
- the passwordWarningAfterInDays
-
setPasswordWarningAfterInDays
Sets the number of days after which the user will be warned of password expiration- Parameters:
passwordWarningAfterInDays- the passwordWarningAfterInDays to set
-
getRequiredChars
Returns aSetof the characters required in a password- Returns:
- the requiredChars
-
setRequiredChars
Sets aSetof the characters required in a password- Parameters:
requiredChars- the requiredChars to set
-
getDisallowedChars
Returns aSetof the characters disallowed in a password- Returns:
- the disallowedChars
-
setDisallowedChars
Sets aSetof the characters disallowed in a password- Parameters:
disallowedChars- the disallowedChars to set
-
getAllowedChars
Returns aSetof the characters allowed in a password- Returns:
- the allowedChars
-
setAllowedChars
Sets aSetof the characters allowed in a password- Parameters:
allowedChars- the allowedChars to set
-
getDisallowedSubstrings
Returns aSetof the strings disallowed in a password- Returns:
- the disallowedSubstrings
-
setDisallowedSubstrings
Sets aSetof the strings disallowed in a password- Parameters:
disallowedSubstrings- the disallowedSubstrings to set
-
getDictionaryLocation
Returns the full path to the the dictionary file- Returns:
- the dictionaryLocation
-
setDictionaryLocation
Sets the full path to the the dictionary file- Parameters:
dictionaryLocation- the dictionaryLocation to set
-
getDictionaryDelimiter
Returns the delimiter used to separate 'characters' in the dictionary file- Returns:
- the dictionaryDelimiter
-
setDictionaryDelimiter
Sets the delimiter used to separate 'characters' in the dictionary file- Parameters:
dictionaryDelimiter- the dictionaryDelimiter to set
-
getNumPasswordsInHistory
Gets the minimum number of passwords to be saved in history- Returns:
- the numPasswordsInHistory
-
setNumPasswordsInHistory
Sets the minimum number of passwords saved in history- Parameters:
numPasswordsInHistory- the numPasswordsInHistory to set
-
getPriority
Gets the Password Policy Priority.- Returns:
-
setPriority
Sets the Password Policy Priority.- Parameters:
priority-
-
toString
-
setLockoutDuration
Sets the lockout period.- Parameters:
lockoutDuration-
-
getLockoutDuration
Gets the lockout period to set.- Returns:
- lockoutDuration
-
setMaxIncorrectAttempts
- Parameters:
maxIncorrectAttempts- the maxIncorrectAttempts to set
-
getMaxIncorrectAttempts
- Returns:
- the maxIncorrectAttempts
-
setChSource
-
getChSource
- Returns:
- chSource
-
setChDefaultQuestions
- Parameters:
chDefaultQuestions-
-
getChDefaultQuestions
Gets the default challenge questions.- Returns:
- chDefaultQuestions
-
setChMinQuestions
-
getChMinQuestions
-
setChMinAnswers
-
getChMinAnswers
-
setChAllAtOnce
-
isChAllAtOnce
-
setChResponseMinLength
-
getChResponseMinLength
-
setChAllowDuplicateResponses
-
isChAllowDuplicateResponses
-
setChSendMail
-
isChSendMail
-
setChEnabled
-
isChEnabled
-
setChMaxIncorrectAttempts
-
getChMaxIncorrectAttempts
-
setDesc
- Parameters:
desc- description of the password policy
-
getDesc
- Returns:
- the description of the password policy
-
getChDefaultSetOfQuestions
-
setWhiteSpaceDisallowed
-
isWhiteSpaceDisallowed
-
getDesc()