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 aSet
of 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 aSet
of the characters disallowed in a passwordReturns aSet
of 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 aSet
of 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 otherwisevoid
setAllowedChars
(LinkedHashSet<Character> allowedChars) Sets aSet
of the characters allowed in a passwordvoid
setChAllAtOnce
(Boolean chAllAtOnce) void
setChAllowDuplicateResponses
(Boolean chAllowDuplicateResponses) void
setChDefaultQuestions
(String chDefaultQuestions) void
setChEnabled
(Boolean chEnabled) void
setChMaxIncorrectAttempts
(Integer chMaxIncorrectAttempts) void
setChMinAnswers
(Integer chMinAnswers) void
setChMinQuestions
(Integer chMinQuestions) void
setChResponseMinLength
(Integer chResponseMinLength) void
setChSendMail
(Boolean chSendMail) void
setChSource
(Integer chSource) void
setComplexPolicy
(Boolean complexPolicy) Sets true if the password policy is a complex policy, false otherwisevoid
void
setDictionaryDelimiter
(Character dictionaryDelimiter) Sets the delimiter used to separate 'characters' in the dictionary filevoid
setDictionaryLocation
(String dictionaryLocation) Sets the full path to the the dictionary filevoid
setDisallowedChars
(LinkedHashSet<Character> disallowedChars) Sets aSet
of the characters disallowed in a passwordvoid
setDisallowedSubstrings
(Set<String> disallowedSubstrings) Sets aSet
of the strings disallowed in a passwordvoid
setFirstNameDisallowed
(Boolean firstNameDisallowed) Sets true if the user first name is not allowed in the password, false otherwisevoid
void
setLastNameDisallowed
(Boolean lastNameDisallowed) Sets true if the user last name is not allowed in the password, false otherwisevoid
setLockoutDuration
(Integer lockoutDuration) Sets the lockout period.void
setMaxIncorrectAttempts
(Integer maxIncorrectAttempts) void
setMaxLength
(Integer maxLength) Sets the maximum length of the passwordvoid
setMaxRepeatedChars
(Integer maxRepeatedChars) Sets the maximum number of characters that can be repeated in the passwordvoid
setMaxSpecialChars
(Integer maxSpecialChars) Sets the maximum special characters allowed in the passwordvoid
setMaxUnicodeChars
(Integer maxUnicodeChars) Sets the maximum unicode characters allowed in the passwordvoid
setMinAlphabets
(Integer minAlphabets) Sets the minimum alphabets allowed in the passwordvoid
setMinAlphaNumerals
(Integer minAlphaNumerals) Sets the minimum alpha-numeric characters allowed in the passwordvoid
setMinLength
(Integer minLength) Sets the minimum length of the passwordvoid
setMinLowerCase
(Integer minLowerCase) Sets the minimum lower case characters allowed in the passwordvoid
setMinNumerals
(Integer minNumerals) Sets the minimum numerals allowed in the passwordvoid
setMinPasswordAgeInDays
(Integer minPasswordAgeInDays) Sets the minimum age of the password as number of daysvoid
setMinSpecialChars
(Integer minSpecialChars) Sets the minimum special characters allowed in the passwordvoid
setMinUnicodeChars
(Integer minUnicodeChars) Sets the minimum unicode characters allowed in the passwordvoid
setMinUniqueChars
(Integer minUniqueChars) Sets the minimum unique characters allowed in the passwordvoid
setMinUpperCase
(Integer minUpperCase) Sets the minimum upper case characters allowed in the passwordvoid
Sets the policy namevoid
setNumPasswordsInHistory
(Integer numPasswordsInHistory) Sets the minimum number of passwords saved in historyvoid
setPasswordExpiresAfterInDays
(Integer passwordExpiresAfterInDays) Sets the number of days after which the password will expirevoid
setPasswordWarningAfterInDays
(Integer passwordWarningAfterInDays) Sets the number of days after which the user will be warned of password expirationvoid
setPriority
(Integer priority) Sets the Password Policy Priority.void
setRequiredChars
(Set<Character> requiredChars) Sets aSet
of the characters required in a passwordvoid
setShortDesc
(String desc) Deprecated.please seesetDesc(desc)
void
setStartsWithAlphabet
(Boolean startsWithAlphabet) Sets if the password can start with an alphabetvoid
setUserIdDisallowed
(Boolean userIdDisallowed) Sets true if the user ID is not allowed in the password, false otherwisevoid
setWhiteSpaceDisallowed
(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 aSet
of the characters required in a password- Returns:
- the requiredChars
-
setRequiredChars
Sets aSet
of the characters required in a password- Parameters:
requiredChars
- the requiredChars to set
-
getDisallowedChars
Returns aSet
of the characters disallowed in a password- Returns:
- the disallowedChars
-
setDisallowedChars
Sets aSet
of the characters disallowed in a password- Parameters:
disallowedChars
- the disallowedChars to set
-
getAllowedChars
Returns aSet
of the characters allowed in a password- Returns:
- the allowedChars
-
setAllowedChars
Sets aSet
of the characters allowed in a password- Parameters:
allowedChars
- the allowedChars to set
-
getDisallowedSubstrings
Returns aSet
of the strings disallowed in a password- Returns:
- the disallowedSubstrings
-
setDisallowedSubstrings
Sets aSet
of 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()