|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.starbase.starteam.SystemPolicy
| Field Summary | |
static int |
ALLOW_BLANK_PASSWORDS
Indicates that blank passwords are permitted. |
static int |
FAILED_LOGIN_NO_LIMIT
Indicates that the number of failed login attempts is unlimited. |
static int |
LOCKOUT_FOREVER
Indicates that the user will be locked out until explicitly unlocked by the administrator. |
static int |
PASSWORDS_NEVER_EXPIRE
Indicates that passwords never expire. |
static int |
SECURITYLOG_AUTOPURGE_DEFAULT
By default, the security log is purged after this many days. |
static int |
SECURITYLOG_AUTOPURGE_NEVER
Indicates that the security log is never purged. |
| Constructor Summary | |
SystemPolicy(SystemPolicy source)
construct a SystemPolicy instance from the specified source |
|
| Method Summary | |
SystemPolicy |
copy()
returns a copy of this SystemPolicy instance |
boolean |
equals(java.lang.Object theOther)
returns true if the paramter is a System Policy whose values are identical to those of this instance |
int |
getFailedLoginLimit()
Gets the number of acceptable failed login attempts. |
int |
getFailedLoginLockout()
Gets the number of minutes a user will be locked out after exceeding the failed login limit. |
int |
getMinimumPasswordLength()
Gets the minimum allowable password length. |
boolean |
getNotifyByEmail()
Indicates whether or not security administrators will be notified of login lockouts by email. |
int |
getPasswordExpirationPeriod()
Gets the number of days after which a password will expire. |
int |
getSecurityLogAutoPurgeDays()
Gets the number of days of information that will be saved in the server's security log. |
boolean |
getSkipGroupPrivilegesCheck()
Indicates whether or not access validation will ignore group privileges. |
boolean |
getSkipOwnershipCheck()
Indicates whether or not access validation will ignore object ownership. |
boolean |
getStrongPasswordRulesEnforced()
Indicates whether or not strong password rules are enforced. |
int |
hashCode()
returns a unique hash for all instances of this type |
boolean |
isEqualTo(SystemPolicy theOther)
returns true if the paramter is a System Policy whose values are identical to those of this instance |
boolean |
isStrongPasswordRulesSupported()
Deprecated. All supported versions of the StarTeam server support strong password rules. This method always returns true. |
void |
setFailedLoginLimit(int nAttempts)
Sets the number of acceptable failed login attempts. |
void |
setFailedLoginLockout(int nMinutes)
Sets the number of minutes a user will be locked out after exceeding the failed login limit. |
void |
setMinimumPasswordLength(int length)
Sets the minimum allowable password length. |
void |
setNotifyByEmail(boolean bAlert)
Sets whether or not security administrators will be notified of login lockouts by email. |
void |
setPasswordExpirationPeriod(int nDays)
Sets the number of days after which a password will expire. |
void |
setSecurityLogAutoPurgeDays(int nDays)
Sets the number of days of information that will be saved in the server's security log. |
void |
setSkipGroupPrivilegesCheck(boolean bSkip)
Sets whether or not access validation will ignore group privileges. |
void |
setSkipOwnershipCheck(boolean bSkip)
Sets whether or not access validation will ignore object ownership. |
void |
setStrongPasswordRulesEnforced(boolean bStrongPasswords)
Sets whether or not strong password rules will be enforced. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int ALLOW_BLANK_PASSWORDS
SystemPolicy.setMinimumPasswordLength(int),
Constant Field Valuespublic static final int PASSWORDS_NEVER_EXPIRE
SystemPolicy.setPasswordExpirationPeriod(int),
Constant Field Valuespublic static final int FAILED_LOGIN_NO_LIMIT
SystemPolicy.setFailedLoginLimit(int),
Constant Field Valuespublic static final int LOCKOUT_FOREVER
SystemPolicy.setFailedLoginLockout(int),
Constant Field Valuespublic static final int SECURITYLOG_AUTOPURGE_NEVER
SystemPolicy.setSecurityLogAutoPurgeDays(int),
Constant Field Valuespublic static final int SECURITYLOG_AUTOPURGE_DEFAULT
SystemPolicy.setSecurityLogAutoPurgeDays(int),
Constant Field Values| Constructor Detail |
public SystemPolicy(SystemPolicy source)
source - SystemPolicy a SystemPolicy instance to copy from| Method Detail |
public SystemPolicy copy()
public boolean equals(java.lang.Object theOther)
equals in class java.lang.ObjecttheOther - Object the other System Policy instance to be evaluated
public boolean isEqualTo(SystemPolicy theOther)
theOther - Object the other System Policy instance to be evaluated
public boolean getSkipOwnershipCheck()
public void setSkipOwnershipCheck(boolean bSkip)
bSkip - true if access validation should ignore object ownership, and false otherwise.SystemPolicy.setSkipGroupPrivilegesCheck(boolean)public boolean getSkipGroupPrivilegesCheck()
public void setSkipGroupPrivilegesCheck(boolean bSkip)
bSkip - true if access validation should group privileges ownership, and false otherwise.SystemPolicy.setSkipOwnershipCheck(boolean)public boolean isStrongPasswordRulesSupported()
SystemPolicy.getStrongPasswordRulesEnforced()public boolean getStrongPasswordRulesEnforced()
public void setStrongPasswordRulesEnforced(boolean bStrongPasswords)
bStrongPasswords - true if strong password rules will be enforced, and false otherwise.SystemPolicy.isStrongPasswordRulesSupported()public int getMinimumPasswordLength()
public void setMinimumPasswordLength(int length)
length - The minimum password length.SystemPolicy.ALLOW_BLANK_PASSWORDSpublic int getPasswordExpirationPeriod()
public void setPasswordExpirationPeriod(int nDays)
nDays - The password expiration period, in days.SystemPolicy.PASSWORDS_NEVER_EXPIREpublic int getFailedLoginLimit()
public void setFailedLoginLimit(int nAttempts)
nAttempts - The number of acceptable failed login attempts.SystemPolicy.FAILED_LOGIN_NO_LIMITpublic int getFailedLoginLockout()
public void setFailedLoginLockout(int nMinutes)
nMinutes - The number of minutes a user will be locked out after exceeding the failed login limit.SystemPolicy.LOCKOUT_FOREVERpublic boolean getNotifyByEmail()
public void setNotifyByEmail(boolean bAlert)
bAlert - true if security administrators will be notified by email, and false otherwise.public int getSecurityLogAutoPurgeDays()
public void setSecurityLogAutoPurgeDays(int nDays)
nDays - The number of days of information that will be saved.SystemPolicy.SECURITYLOG_AUTOPURGE_NEVER,
SystemPolicy.SECURITYLOG_AUTOPURGE_DEFAULTpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||