Skip navigation links


oracle.iam.passwordmgmt.vo
Class PasswordPolicyInfo

java.lang.Object
  extended by oracle.iam.passwordmgmt.vo.PasswordPolicyInfo

All Implemented Interfaces:
java.io.Serializable

public class PasswordPolicyInfo
extends java.lang.Object
implements java.io.Serializable

Responsible for providing information of a PasswordPolicy

Since:
OIM 11gR1
See Also:
Serialized Form

Constructor Summary
PasswordPolicyInfo()
           

 

Method Summary
 java.util.LinkedHashSet getAllowedChars()
          Returns a Set of the characters allowed in a password
 java.lang.Boolean getComplexPolicy()
          Returns true if the password policy is a complex policy, false otherwise
 char getDictionaryDelimiter()
          Returns the delimiter used to separate 'characters' in the dictionary file
 java.lang.String getDictionaryLocation()
          Returns the full path to the the dictionary file
 java.util.LinkedHashSet getDisallowedChars()
          Returns a Set of the characters disallowed in a password
 java.util.Set getDisallowedSubstrings()
          Returns a Set of the strings disallowed in a password
 java.lang.String getId()
           
 java.lang.Integer getMaxLength()
          Gets the maximum length of the password
 java.lang.Integer getMaxRepeatedChars()
          Gets the maximum number of characters that can be repeated in the password
 java.lang.Integer getMaxSpecialChars()
          Gets the maximum special characters allowed in the password
 java.lang.Integer getMaxUnicodeChars()
          Gets the maximum unicode characters allowed in the password
 java.lang.Integer getMinAlphabets()
          Gets the minimum alphabets allowed in the password
 java.lang.Integer getMinAlphaNumerals()
          Gets the minimum alpha-numeric characters allowed in the password
 java.lang.Integer getMinLength()
          Gets the minimum length of the password
 java.lang.Integer getMinLowerCase()
          Gets the minimum lower case characters allowed in the password
 java.lang.Integer getMinNumerals()
          Gets the minimum numerals allowed in the password
 java.lang.Integer getMinPasswordAgeInDays()
          Gets the minimum age of the password as number of days
 java.lang.Integer getMinSpecialChars()
          Gets the minimum special characters allowed in the password
 java.lang.Integer getMinUnicodeChars()
          Gets the minimum unicode characters allowed in the password
 java.lang.Integer getMinUniqueChars()
          Gets the minimum unique characters allowed in the password
 java.lang.Integer getMinUpperCase()
          Gets the minimum upper case characters allowed in the password
 java.lang.Integer getNumPasswordsInHistory()
          Gets the minimum number of passwords to be saved in history
 java.lang.Integer getPasswordExpiresAfterInDays()
          Returns the number of days after which the password will expire
 java.lang.Integer getPasswordWarningAfterInDays()
          Returns the number of days after which the user will be warned of password expiration
 java.util.Set getRequiredChars()
          Returns a Set of the characters required in a password
 java.lang.Boolean getStartsWithAlphabet()
          Gets if the password can start with an alphabet
 java.lang.Boolean isFirstNameDisallowed()
          Returns true if the user first name is not allowed in the password, false otherwise
 java.lang.Boolean isLastNameDisallowed()
          Returns true if the user last name is not allowed in the password, false otherwise
 java.lang.Boolean isUserIdDisallowed()
          Returns true if the user ID is not allowed in the password, false otherwise
 void setAllowedChars(java.util.LinkedHashSet allowedChars)
          Sets a Set of the characters allowed in a password
 void setComplexPolicy(java.lang.Boolean complexPolicy)
          Sets true if the password policy is a complex policy, false otherwise
 void setDictionaryDelimiter(char dictionaryDelimiter)
          Sets the delimiter used to separate 'characters' in the dictionary file
 void setDictionaryLocation(java.lang.String dictionaryLocation)
          Sets the full path to the the dictionary file
 void setDisallowedChars(java.util.LinkedHashSet disallowedChars)
          Sets a Set of the characters disallowed in a password
 void setDisallowedSubstrings(java.util.Set disallowedSubstrings)
          Sets a Set of the strings disallowed in a password
 void setFirstNameDisallowed(java.lang.Boolean firstNameDisallowed)
          Sets true if the user first name is not allowed in the password, false otherwise
 void setId(java.lang.String id)
           
 void setLastNameDisallowed(java.lang.Boolean lastNameDisallowed)
          Sets true if the user last name is not allowed in the password, false otherwise
 void setMaxLength(java.lang.Integer maxLength)
          Sets the maximum length of the password
 void setMaxRepeatedChars(java.lang.Integer maxRepeatedChars)
          Sets the maximum number of characters that can be repeated in the password
 void setMaxSpecialChars(java.lang.Integer maxSpecialChars)
          Sets the maximum special characters allowed in the password
 void setMaxUnicodeChars(java.lang.Integer maxUnicodeChars)
          Sets the maximum unicode characters allowed in the password
 void setMinAlphabets(java.lang.Integer minAlphabets)
          Sets the minimum alphabets allowed in the password
 void setMinAlphaNumerals(java.lang.Integer minAlphaNumerals)
          Sets the minimum alpha-numeric characters allowed in the password
 void setMinLength(java.lang.Integer minLength)
          Sets the minimum length of the password
 void setMinLowerCase(java.lang.Integer minLowerCase)
          Sets the minimum lower case characters allowed in the password
 void setMinNumerals(java.lang.Integer minNumerals)
          Sets the minimum numerals allowed in the password
 void setMinPasswordAgeInDays(java.lang.Integer minPasswordAgeInDays)
          Sets the minimum age of the password as number of days
 void setMinSpecialChars(java.lang.Integer minSpecialChars)
          Sets the minimum special characters allowed in the password
 void setMinUnicodeChars(java.lang.Integer minUnicodeChars)
          Sets the minimum unicode characters allowed in the password
 void setMinUniqueChars(java.lang.Integer minUniqueChars)
          Sets the minimum unique characters allowed in the password
 void setMinUpperCase(java.lang.Integer minUpperCase)
          Sets the minimum upper case characters allowed in the password
 void setNumPasswordsInHistory(java.lang.Integer numPasswordsInHistory)
          Sets the minimum number of passwords saved in history
 void setPasswordExpiresAfterInDays(java.lang.Integer passwordExpiresAfterInDays)
          Sets the number of days after which the password will expire
 void setPasswordWarningAfterInDays(java.lang.Integer passwordWarningAfterInDays)
          Sets the number of days after which the user will be warned of password expiration
 void setRequiredChars(java.util.Set requiredChars)
          Sets a Set of the characters required in a password
 void setStartsWithAlphabet(java.lang.Boolean startsWithAlphabet)
          Sets if the password can start with an alphabet
 void setUserIdDisallowed(java.lang.Boolean userIdDisallowed)
          Sets true if the user ID is not allowed in the password, false otherwise

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

PasswordPolicyInfo

public PasswordPolicyInfo()

Method Detail

getId

public java.lang.String getId()
Returns:
the id

setId

public void setId(java.lang.String id)
Parameters:
id - the id to set

getMaxLength

public java.lang.Integer getMaxLength()
Gets the maximum length of the password
Returns:
the maxLength

setMaxLength

public void setMaxLength(java.lang.Integer maxLength)
Sets the maximum length of the password
Parameters:
maxLength - the maxLength to set

getMinLength

public java.lang.Integer getMinLength()
Gets the minimum length of the password
Returns:
the minLength

setMinLength

public void setMinLength(java.lang.Integer minLength)
Sets the minimum length of the password
Parameters:
minLength - the minLength to set

getMinAlphabets

public java.lang.Integer getMinAlphabets()
Gets the minimum alphabets allowed in the password
Returns:
the minAlphabets

setMinAlphabets

public void setMinAlphabets(java.lang.Integer minAlphabets)
Sets the minimum alphabets allowed in the password
Parameters:
minAlphabets - the minAlphabets to set

getMinNumerals

public java.lang.Integer getMinNumerals()
Gets the minimum numerals allowed in the password
Returns:
the minNumerals

setMinNumerals

public void setMinNumerals(java.lang.Integer minNumerals)
Sets the minimum numerals allowed in the password
Parameters:
minNumerals - the minNumerals to set

getMinAlphaNumerals

public java.lang.Integer getMinAlphaNumerals()
Gets the minimum alpha-numeric characters allowed in the password
Returns:
the minAlphaNumerals

setMinAlphaNumerals

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

getMinSpecialChars

public java.lang.Integer getMinSpecialChars()
Gets the minimum special characters allowed in the password
Returns:
the minSpecialChars

setMinSpecialChars

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

getMaxSpecialChars

public java.lang.Integer getMaxSpecialChars()
Gets the maximum special characters allowed in the password
Returns:
the maxSpecialChars

setMaxSpecialChars

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

getMinUpperCase

public java.lang.Integer getMinUpperCase()
Gets the minimum upper case characters allowed in the password
Returns:
the minUpperCase

setMinUpperCase

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

getMinLowerCase

public java.lang.Integer getMinLowerCase()
Gets the minimum lower case characters allowed in the password
Returns:
the minLowerCase

setMinLowerCase

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

getMinUniqueChars

public java.lang.Integer getMinUniqueChars()
Gets the minimum unique characters allowed in the password
Returns:
the minUniqueChars

setMinUniqueChars

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

getMaxRepeatedChars

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

setMaxRepeatedChars

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

getStartsWithAlphabet

public java.lang.Boolean getStartsWithAlphabet()
Gets if the password can start with an alphabet
Returns:
the startsWithAlphabet

setStartsWithAlphabet

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

getMinUnicodeChars

public java.lang.Integer getMinUnicodeChars()
Gets the minimum unicode characters allowed in the password
Returns:
the minUnicodeChars

setMinUnicodeChars

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

getMaxUnicodeChars

public java.lang.Integer getMaxUnicodeChars()
Gets the maximum unicode characters allowed in the password
Returns:
the maxUnicodeChars

setMaxUnicodeChars

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

isFirstNameDisallowed

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

setFirstNameDisallowed

public void setFirstNameDisallowed(java.lang.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 java.lang.Boolean isLastNameDisallowed()
Returns true if the user last name is not allowed in the password, false otherwise
Returns:
the lastNameDisallowed

setLastNameDisallowed

public void setLastNameDisallowed(java.lang.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 java.lang.Boolean isUserIdDisallowed()
Returns true if the user ID is not allowed in the password, false otherwise
Returns:
the userIdDisallowed

setUserIdDisallowed

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

getComplexPolicy

public java.lang.Boolean getComplexPolicy()
Returns true if the password policy is a complex policy, false otherwise
Returns:
the complexPolicy

setComplexPolicy

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

getMinPasswordAgeInDays

public java.lang.Integer getMinPasswordAgeInDays()
Gets the minimum age of the password as number of days
Returns:
the minPasswordAgeInDays

setMinPasswordAgeInDays

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

getPasswordExpiresAfterInDays

public java.lang.Integer getPasswordExpiresAfterInDays()
Returns the number of days after which the password will expire
Returns:
the passwordExpiresAfterInDays

setPasswordExpiresAfterInDays

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

getPasswordWarningAfterInDays

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

setPasswordWarningAfterInDays

public void setPasswordWarningAfterInDays(java.lang.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 java.util.Set getRequiredChars()
Returns a Set of the characters required in a password
Returns:
the requiredChars

setRequiredChars

public void setRequiredChars(java.util.Set requiredChars)
Sets a Set of the characters required in a password
Parameters:
requiredChars - the requiredChars to set

getDisallowedChars

public java.util.LinkedHashSet getDisallowedChars()
Returns a Set of the characters disallowed in a password
Returns:
the disallowedChars

setDisallowedChars

public void setDisallowedChars(java.util.LinkedHashSet disallowedChars)
Sets a Set of the characters disallowed in a password
Parameters:
disallowedChars - the disallowedChars to set

getAllowedChars

public java.util.LinkedHashSet getAllowedChars()
Returns a Set of the characters allowed in a password
Returns:
the allowedChars

setAllowedChars

public void setAllowedChars(java.util.LinkedHashSet allowedChars)
Sets a Set of the characters allowed in a password
Parameters:
allowedChars - the allowedChars to set

getDisallowedSubstrings

public java.util.Set getDisallowedSubstrings()
Returns a Set of the strings disallowed in a password
Returns:
the disallowedSubstrings

setDisallowedSubstrings

public void setDisallowedSubstrings(java.util.Set disallowedSubstrings)
Sets a Set of the strings disallowed in a password
Parameters:
disallowedSubstrings - the disallowedSubstrings to set

getDictionaryLocation

public java.lang.String getDictionaryLocation()
Returns the full path to the the dictionary file
Returns:
the dictionaryLocation

setDictionaryLocation

public void setDictionaryLocation(java.lang.String dictionaryLocation)
Sets the full path to the the dictionary file
Parameters:
dictionaryLocation - the dictionaryLocation to set

getDictionaryDelimiter

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

setDictionaryDelimiter

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

getNumPasswordsInHistory

public java.lang.Integer getNumPasswordsInHistory()
Gets the minimum number of passwords to be saved in history
Returns:
the numPasswordsInHistory

setNumPasswordsInHistory

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

Skip navigation links


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.