|
SiteMinder Java SDK r12.51 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netegrity.sdk.policyapi.SmObjectImpl
com.netegrity.sdk.policyapi.SmPasswordPolicy
public final class SmPasswordPolicy
Represents SiteMinder Password Policy object.
This object has global scope.
| Field Summary | |
|---|---|
static java.lang.String |
PropActive
Constant to indicate the property Active. |
static java.lang.String |
PropClass
Constant to indicate the property Class. |
static java.lang.String |
PropDictionaryName
Constant to indicate the property Dictionary Name. |
static java.lang.String |
PropDictionaryPartial
Constant to indicate the property Dictionary Partial. |
static java.lang.String |
PropExpirationDelay
Constant to indicate the property Expiration Delay. |
static java.lang.String |
PropExpiredRedirect
Constant to indicate the property Expired Redirect. |
static java.lang.String |
PropGlobal
Constant to indicate the property Global. |
static java.lang.String |
PropLoginDaysGrace
Constant to indicate the property Login Days Grace. |
static java.lang.String |
PropLoginInactivityWarn
Constant to indicate the property Login Inactivity Warn. |
static java.lang.String |
PropLoginMaxFailures
Constant to indicate the property Maximum Login Failures. |
static java.lang.String |
PropLoginMaxInactivity
Constant to indicate the property Maximum Login Inactivity. |
static java.lang.String |
PropMaxFailuresRedirect
Not used. |
static java.lang.String |
PropPasswordBehavior
Constant to indicate the property Password Behavior. |
static java.lang.String |
PropPasswordCheckLib
Constant to indicate the property password Check Lib. |
static java.lang.String |
PropPasswordPolicies
Property name to be specified in the method . |
static java.lang.String |
PropPath
Constant to indicate the property Path. |
static java.lang.String |
PropPriority
Constant to indicate the property Priority. |
static java.lang.String |
PropPWMaxLength
Constant to indicate the property Password Maximum Length. |
static java.lang.String |
PropPWMaxRepeatingChar
Constant to indicate the property Password Maximum Repeating Characters. |
static java.lang.String |
PropPWMinAlpha
Constant to indicate the property Minimum Alphabets. |
static java.lang.String |
PropPWMinAlphaNum
Constant to indicate the property Minimum Alpha-Numeric Characters. |
static java.lang.String |
PropPWMinLength
Constant to indicate the property Password Minimum Length. |
static java.lang.String |
PropPWMinLowerAlpha
Constant to indicate the property Password Minimum Lower Alphabet. |
static java.lang.String |
PropPWMinNonAlpha
Constant to indicate the property Minimum Non-Alphabets. |
static java.lang.String |
PropPWMinNonPrintable
Constant to indicate the property Minimum Non-Printable Characters. |
static java.lang.String |
PropPWMinNumbers
Constant to indicate the property Minimum Numbers. |
static java.lang.String |
PropPWMinPunctuation
Constant to indicate the property Minimum Punctuation. |
static java.lang.String |
PropPWMinUpperAlpha
Constant to indicate the property Password Minimum Upper Alphabet. |
static java.lang.String |
PropPWPercentDifferent
Constant to indicate the property Percent Different. |
static java.lang.String |
PropPWPercentSequence
Constant to indicate the property Percent Sequence. |
static java.lang.String |
PropPWReuseCount
Constant to indicate the property Reuse Count. |
static java.lang.String |
PropPWReuseDelay
Constant to indicate the property Reuse Delay. |
static java.lang.String |
PropPWSpecialsLength
Constant to indicate the property Specials Length of the object. |
static java.lang.String |
PropReenablement
Constant to indicate the property Re-enablement. |
static java.lang.String |
PropRegularExpressions
Constant to indicate the property Regular Expressions. |
static java.lang.String |
PropResolution
Constant to indicate the property Resolution. |
static java.lang.String |
PropUserDirectory
Constant to indicate the property User Directory (searchable). |
static int |
Sm_PasswordPolicy_AllowFailedWrites
Password Policy Behavior - Don't fail authentication if password data updates fail. |
static int |
Sm_PasswordPolicy_DontTrackFailedLogins
Constant to indicate whether directory updates will be performed at login time. |
static int |
Sm_PasswordPolicy_DontTrackLogins
Constant to indicate whether to use flags that allow the separate tracking of successful and failed logins. |
static int |
Sm_PasswordPolicy_DontTrackSuccessLogins
Constant to indicate whether directory updates will be performed at login time. |
static int |
Sm_PasswordPolicy_InactivityForcePWChange
Password Policy Behavior - If the user is marked inactive, don't disable. |
static int |
Sm_PasswordPolicy_PWExpiredForcePWChange
Password Policy Behavior - If the user has an expired password, don't disable. |
| Fields inherited from class com.netegrity.sdk.policyapi.SmObjectImpl |
|---|
PropObjectClassName |
| Fields inherited from interface com.netegrity.sdk.policyapi.SmObject |
|---|
ConfigurationClassName, PropDesc, PropName, PropOid |
| Constructor Summary | |
|---|---|
SmPasswordPolicy()
Constructs a password policy object. |
|
SmPasswordPolicy(java.lang.String name)
Constructs a password policy object with the specified name. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDictionaryName()
Gets the location of a dictionary file for words that cannot be used in a password. |
int |
getDictionaryPartial()
Gets the minimum number of letters needed to qualify for dictionary checking. |
int |
getExpirationDelay()
Gets the Number of days of inactivity allowed before user account is disabled. |
java.lang.String |
getFilterClass()
Gets the object class where the password policy applies. |
java.lang.String |
getFilterPath()
Indicates the users to whom the password policy applies. |
int |
getLoginDaysGrace()
Gets the number of days in advance to notify a user that the password will expire. |
int |
getLoginInactivityWarn()
This is a reserved method. |
int |
getLoginMaxFailures()
Gets the maximum number of failed login attempts a user can make before the user account is disabled. |
int |
getLoginMaxInactivity()
Gets the number of days of inactivity allowed before a user password expires. |
int |
getPasswordBehavior()
Gets the password policy behavior. |
java.lang.String |
getPasswordCheckLib()
This property is reserved for future use. |
int |
getPasswordMaxLength()
Gets the maximum length for user passwords. |
int |
getPasswordMaxRepeatingChar()
Gets the maximum number of identical characters that can appear consecutively in a password. |
int |
getPasswordMinAlpha()
Gets the minimum number of alphabetic characters (A-Z, a-z) that a password must contain. |
int |
getPasswordMinAlphaNum()
Gets the minimum number of alphabetic or numeric characters that a password must contain. |
int |
getPasswordMinLength()
Gets the minimum length for user passwords. |
int |
getPasswordMinLowerAlpha()
Gets the value that is a safeguard against a user's Specifies whether to allow lower case alphabetic characters and, if so,the minimum number a password must contain. |
int |
getPasswordMinNonAlpha()
Gets the minimum number of non-alphanumeric characters that a password must contain. |
int |
getPasswordMinNonPrintable()
Gets the minimum number of non-printable characters that must be in a password. |
int |
getPasswordMinNumbers()
Gets the minimum number of numeric characters (0-9) that a password must contain. |
int |
getPasswordMinPunctuation()
Gets the minimum number of punctuation marks that a password must contain. |
int |
getPasswordMinUpperAlpha()
Gets the value that is a safeguard against a user's Specifies whether to allow upper case alphabetic characters and, if so,the minimum number a password must contain. |
int |
getPasswordPercentDifferent()
Gets the percentage of characters a new password must contain that differ from characters in the previous password. |
int |
getPasswordPercentSequence()
Gets the flag that indicates whether or not to ignore sequence (character position) when the different-from-previous-characters percentage is calculated. |
int |
getPasswordReuseCount()
Gets the number of new passwords that must be used before an old one can be reused. |
int |
getPasswordReuseDelay()
Gets the number of days a user must wait before reusing a password. |
java.lang.String |
getPasswordServicesRedirect()
Gets the URL where the user is redirected when an invalid password is entered. |
int |
getPasswordSpecialsLength()
Gets the value that is a safeguard against a user's incorporating personal information in a password. |
int |
getPriority()
Gets the priority where you configure options that determine how multiple policies that will apply to the same user directory or namespace are applied. |
int |
getReenablement()
Gets the number of minutes a user must wait before attempting to log in again. |
int |
getResolution()
Retrieves the password policy resolution within the LDAP directory. |
SmObjId |
getUserDirectoryOid()
Gets the object identifier of the user directory where the password policy will apply. |
boolean |
isEnabled()
Checks whether the password policy is enabled. |
boolean |
isEntireDir()
Checks whether the password policy applies to the whole directory. |
void |
readProperties(java.util.Hashtable properties)
Copies the object properties from the specified hashtable. |
void |
setDictionaryName(java.lang.String dictionaryName)
Set the location of a dictionary file for words that cannot be used in a password. |
void |
setDictionaryPartial(int dictionaryPartial)
Sets the minimum number of letters needed to qualify for dictionary checking. |
void |
setEnabled(boolean enable)
Specifies whether the password policy is enabled. |
void |
setEntireDir(boolean entireDir)
Specifies whether the password policy applies to the whole directory. |
void |
setExpirationDelay(int expirationDelay)
Sets the Number of days of inactivity allowed before user account is disabled. |
void |
setFilterClass(java.lang.String filterClass)
If isEntireDir() is false,
use this method to specify the object class where the password
policy applies. |
void |
setFilterPath(java.lang.String filterPath)
If isEntireDir() is false,
use this method to specify the users to whom the password
policy applies. |
void |
setLoginDaysGrace(int loginDaysGrace)
Sets the number of days in advance to notify user that the password will expire. |
void |
setLoginInactivityWarn(int loginInactivityWarn)
This is a reserved method. |
void |
setLoginMaxFailures(int loginMaxFailures)
Sets the maximum number of failed login attempts a user can make before the user account is disabled. |
void |
setLoginMaxInactivity(int loginMaxInactivity)
Sets the number of days of inactivity allowed before a user password expires. |
void |
setPasswordBehavior(int passwordBehavior)
It was used to indicate that don't perform directory updates at login (successful or failed) time, if it was set. |
void |
setPasswordCheckLib(java.lang.String szPasswordCheckLib)
This property is reserved for future use. |
void |
setPasswordMaxLength(int passwordMaxLength)
Sets the maximum length for user passwords. |
void |
setPasswordMaxRepeatingChar(int passwordMaxRepeatingChar)
Sets the maximum number of identical characters that can appear consecutively in a password. |
void |
setPasswordMinAlpha(int passwordMinAlpha)
Sets the minimum number of alphabetic characters (A-Z, a-z) that a password must contain. |
void |
setPasswordMinAlphaNum(int passwordMinAlphaNum)
Sets the minimum number of alphabetic or numeric characters that a password must contain. |
void |
setPasswordMinLength(int passwordMinLength)
Sets the minimum length for user passwords. |
void |
setPasswordMinLowerAlpha(int PasswordMinLowerAlpha)
Sets the minimum number of lower-alphanumeric characters that a password must contain. |
void |
setPasswordMinNonAlpha(int passwordMinNonAlpha)
Sets the minimum number of non-alphanumeric characters that a password must contain. |
void |
setPasswordMinNonPrintable(int passwordMinNonPrintable)
Sets the minimum number of non-printable characters that must be in a password. |
void |
setPasswordMinNumbers(int passwordMinNumbers)
Sets the minimum number of numeric characters (0-9) that a password must contain. |
void |
setPasswordMinPunctuation(int passwordMinPunctuation)
Sets the minimum number of punctuation marks that a password must contain. |
void |
setPasswordMinUpperAlpha(int nPasswordMinUpperAlpha)
Sets the minimum number of lower-alphanumeric characters that a password must contain. |
void |
setPasswordPercentDifferent(int passwordPercentDifferent)
Sets the percentage of characters a new password must contain that differ from characters in the previous password. |
void |
setPasswordPercentSequence(int passwordPercentSequence)
Sets the flag that indicates whether or not to ignore sequence (character position) when the different-from-previous-characters percentage is calculated. |
void |
setPasswordReuseCount(int passwordReuseCount)
Sets the number of new passwords that must be used before an old one can be reused. |
void |
setPasswordReuseDelay(int passwordReuseDelay)
Sets the number of days a user must wait before reusing a password. |
void |
setPasswordServicesRedirect(java.lang.String passwordServicesRedirect)
Sets the URL where the user is redirected when an invalid password is entered. |
void |
setPasswordSpecialsLength(int passwordSpecialsLength)
Sets the value that is a safeguard against a user's incorporating personal information in a password. |
void |
setPriority(int Priority)
Sets the priority field-Specifies the evaluation priority for the password policy. |
void |
setReenablement(int reenablement)
Sets the number of minutes a user must wait before attempting to log in again. |
void |
setResolution(int resolution)
Shows how the password policy applies to the users specified in setFilterPath(). |
void |
setUserDirectoryOid(java.lang.Object userDirectoryOid)
Specifies the object identifier of the user directory where the password policy will apply. |
void |
writeProperties(java.util.Hashtable properties)
Copies the object properties to the specified hashtable. |
| Methods inherited from class com.netegrity.sdk.policyapi.SmObjectImpl |
|---|
getDescription, getName, getObjectClassname, getOid, isDomainObject, isWriteable, newObject, setDescription, setName, setObjectClassname, setOid, setOid, toString, writeSearchProperties |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PropPasswordPolicies
getGlobalObjectNames().
public static final java.lang.String PropActive
public static final java.lang.String PropGlobal
public static final java.lang.String PropUserDirectory
public static final java.lang.String PropPath
public static final java.lang.String PropClass
public static final java.lang.String PropResolution
public static final java.lang.String PropLoginMaxFailures
public static final java.lang.String PropLoginMaxInactivity
public static final java.lang.String PropLoginInactivityWarn
public static final java.lang.String PropLoginDaysGrace
public static final java.lang.String PropDictionaryName
public static final java.lang.String PropDictionaryPartial
public static final java.lang.String PropExpirationDelay
public static final java.lang.String PropReenablement
public static final java.lang.String PropPasswordBehavior
public static final java.lang.String PropExpiredRedirect
public static final java.lang.String PropPWMaxLength
public static final java.lang.String PropPWMinLength
public static final java.lang.String PropPWMaxRepeatingChar
public static final java.lang.String PropPWMinAlphaNum
public static final java.lang.String PropPWMinAlpha
public static final java.lang.String PropPWMinNonAlpha
public static final java.lang.String PropPWMinNonPrintable
public static final java.lang.String PropPWMinNumbers
public static final java.lang.String PropPWMinPunctuation
public static final java.lang.String PropPWReuseCount
public static final java.lang.String PropPWReuseDelay
public static final java.lang.String PropPWPercentDifferent
public static final java.lang.String PropPWPercentSequence
public static final java.lang.String PropPWSpecialsLength
public static final java.lang.String PropPriority
public static final java.lang.String PropPWMinLowerAlpha
public static final java.lang.String PropPWMinUpperAlpha
public static final java.lang.String PropPasswordCheckLib
public static final java.lang.String PropRegularExpressions
public static final java.lang.String PropMaxFailuresRedirect
public static final int Sm_PasswordPolicy_DontTrackLogins
Constant to indicate whether to use flags that allow the separate tracking of successful and failed logins.
This flag has been replaced in SiteMinder v6.0 SP3 by:Sm_PasswordPolicy_DontTrackLogins is currently maintained for backwards compatiblity.
If this flag is set, login tracking for successful and failed logins will not occur.
public static final int Sm_PasswordPolicy_DontTrackSuccessLogins
Constant to indicate whether directory updates will be performed at login time.
When this flag is not set, the password policy tracks successful user logins, including the time of the last login.
Sm_PasswordPolicy_DontTrackFailedLogins,
Constant Field Valuespublic static final int Sm_PasswordPolicy_DontTrackFailedLogins
Constant to indicate whether directory updates will be performed at login time.
When this flag is not set, the password policy tracks unsuccessful user login attempts.
Sm_PasswordPolicy_DontTrackSuccessLogins,
Constant Field Valuespublic static final int Sm_PasswordPolicy_AllowFailedWrites
public static final int Sm_PasswordPolicy_InactivityForcePWChange
public static final int Sm_PasswordPolicy_PWExpiredForcePWChange
| Constructor Detail |
|---|
public SmPasswordPolicy()
public SmPasswordPolicy(java.lang.String name)
name - Name of the password policy.| Method Detail |
|---|
public boolean isEntireDir()
true if the password policy applies to
the whole directory. false otherwise.public void setEntireDir(boolean entireDir)
entireDir - true if the password policy applies
to the whole directory. false otherwise.public boolean isEnabled()
true if the password policy is enabled.
false otherwise.public void setEnabled(boolean enable)
enabled - true if the password policy is enabled.
false otherwise.public SmObjId getUserDirectoryOid()
public void setUserDirectoryOid(java.lang.Object userDirectoryOid)
userDirectoryOid - The object identifier of the user directory.public java.lang.String getFilterPath()
setFilterPath().
public void setFilterPath(java.lang.String filterPath)
isEntireDir() is false,
use this method to specify the users to whom the password
policy applies. For example, the values you can specify include: setResolution().
filterPath - The users to whom the password policy applies.public java.lang.String getFilterClass()
setFilterClass().
public void setFilterClass(java.lang.String filterClass)
isEntireDir() is false,
use this method to specify the object class where the password
policy applies. Specify the object class as understood by
a user directory,such as organizationalUnit
in LDAP or User in NT.
filterClass - The object class where the password policy applies.public int getResolution()
setResolution().
public void setResolution(int resolution)
setFilterPath(). For example:
setFilterPath() specifies the path to a group,
SmUserPolicy.GROUP_CLASS
indicates that the password policy applies to the members of the specified group.
setFilterPath() specifies a search expression
that searches for all groups containing a particular attribute,
SmUserPolicy.GROUP_ATTRIBUTE_CLASS indicates
that the password policy applies to the members of the matching groups.
setPolicyResolution().
resolution - The password policy resolution.public int getLoginMaxFailures()
public void setLoginMaxFailures(int loginMaxFailures)
loginMaxFailures - The maximum number of failed login attempts.public int getLoginMaxInactivity()
public void setLoginMaxInactivity(int loginMaxInactivity)
loginMaxInactivity - The number of days of inactivity allowed.public int getLoginInactivityWarn()
public void setLoginInactivityWarn(int loginInactivityWarn)
loginInactivityWarn - public int getLoginDaysGrace()
public void setLoginDaysGrace(int loginDaysGrace)
loginDaysGrace - The number of days in advance to notify user that the password
will expire.public java.lang.String getDictionaryName()
public void setDictionaryName(java.lang.String dictionaryName)
dictionaryName - The location of a dictionary file for words
that cannot be used in a password.public int getDictionaryPartial()
public void setDictionaryPartial(int dictionaryPartial)
dictionaryPartial to 5 to avoid checking
words of four or fewer characters. Set dictionaryPartial to 0
to reject any password that matches a word in the dictionary exactly.
dictionaryPartial - The minimum number of letters needed to
qualify for dictionary checking.public int getExpirationDelay()
public void setExpirationDelay(int expirationDelay)
expirationDelay - The Number of days of inactivity allowed before user account
is disabled.public int getReenablement()
public void setReenablement(int reenablement)
reenablement - The number of minutes a user must wait
before attempting to log in again.public int getPasswordBehavior()
setPasswordBehavior()
for the valid behavior flags that can be returned.
public void setPasswordBehavior(int passwordBehavior)
Sm_PasswordPolicy_DontTrackSuccessLoginsSm_PasswordPolicy_DontTrackFailedLoginsSm_PasswordPolicy_AllowFailedWritesSm_PasswordPolicy_InactivityForcePWChangeSm_PasswordPolicy_PWExpiredForcePWChange0x02. Use this flag to indicate that the password policy
applies to the group specified in setFilterPath()
and to any groups nested within it.
passwordBehavior - Bit mask flags representing the password policy behavior.
public java.lang.String getPasswordServicesRedirect()
public void setPasswordServicesRedirect(java.lang.String passwordServicesRedirect)
passwordServicesRedirect - The URL where the user is
redirected when an invalid
password is entered.public int getPasswordMaxLength()
public void setPasswordMaxLength(int passwordMaxLength)
passwordMaxLength - The maximum length for user passwords.public int getPasswordMinLength()
public void setPasswordMinLength(int passwordMinLength)
passwordMinLength - The minimum length for user passwords.public int getPasswordMaxRepeatingChar()
public void setPasswordMaxRepeatingChar(int passwordMaxRepeatingChar)
passwordMaxRepeatingChar - The maximum number of identical
characters that can appear
consecutively in a password.public int getPasswordMinAlphaNum()
public void setPasswordMinAlphaNum(int passwordMinAlphaNum)
passwordMinAlphaNum - The minimum number of alphabetic
or numeric characters.public int getPasswordMinAlpha()
public void setPasswordMinAlpha(int passwordMinAlpha)
passwordMinAlpha - The minimum number of alphabetic characters
(A-Z, a-z) that a password must contain.public int getPasswordMinNonAlpha()
public void setPasswordMinNonAlpha(int passwordMinNonAlpha)
passwordMinNonAlpha - The minimum number of non-alphanumeric
characters that a password must contain.public int getPasswordMinNonPrintable()
public void setPasswordMinNonPrintable(int passwordMinNonPrintable)
passwordMinNonPrintable - The minimum number of non-printable
characters that must be in a password.public int getPasswordMinNumbers()
public void setPasswordMinNumbers(int passwordMinNumbers)
passwordMinNumbers - The minimum number of numeric characters
(0-9) that a password must contain.public int getPasswordMinPunctuation()
public void setPasswordMinPunctuation(int passwordMinPunctuation)
passwordMinPunctuation - The minimum number of punctuation
marks that a password must contain.public int getPasswordReuseCount()
public void setPasswordReuseCount(int passwordReuseCount)
passwordReuseCount - The number of new passwords that
must be used before an old one can be reused.public int getPasswordReuseDelay()
public void setPasswordReuseDelay(int passwordReuseDelay)
passwordReuseDelay - The number of days a user must wait
before reusing a password.public int getPasswordPercentDifferent()
public void setPasswordPercentDifferent(int passwordPercentDifferent)
passwordPercentDifferent - The percentage of characters a
new password must contain that
differ from characters in the
previous password.public int getPasswordPercentSequence()
public void setPasswordPercentSequence(int passwordPercentSequence)
passwordPercentSequence - The flag that indicates whether
or not to ignore sequence.public int getPasswordSpecialsLength()
setPasswordSpecialsLength().
public void setPasswordSpecialsLength(int passwordSpecialsLength)
passwordSpecialsLength
specifies the number of sequential characters to check.
For example, if this value is set to 4, SiteMinder
prohibits the use of four password characters that match
the same sequence of four identical characters in the user's directory,
such as the four last digits of the user’s telephone number.
passwordSpecialsLength - the value.public int getPriority()
public void setPriority(int Priority)
priority - teh value.public int getPasswordMinLowerAlpha()
public void setPasswordMinLowerAlpha(int PasswordMinLowerAlpha)
passwordMinLowerAlpha - The minimum number of lower-alphanumeric
characters that a password must contain.public int getPasswordMinUpperAlpha()
public void setPasswordMinUpperAlpha(int nPasswordMinUpperAlpha)
nPasswordMinUpperAlpha - The minimum number of upper-alphanumeric
characters that a password must contain.public java.lang.String getPasswordCheckLib()
public void setPasswordCheckLib(java.lang.String szPasswordCheckLib)
public void writeProperties(java.util.Hashtable properties)
SmObject
writeProperties in interface SmObjectwriteProperties in class SmObjectImplproperties - The hashtable where the object properties will be
copied.public void readProperties(java.util.Hashtable properties)
SmObject
readProperties in interface SmObjectreadProperties in class SmObjectImplproperties - The new properties of the object.
|
Java SDK r12.51 Mon 04/08/2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||