|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Title: UME4 Security Policy Description: Security Policy settings. Note: It is not possible to change the current security policy settings with the setter methods at runtime. If you want to change these settings, change the configuration and restart the server.
| Method Summary | |
java.lang.String |
generateLogonId()
Generate a logon id for this security policy. |
java.lang.String |
generatePassword()
Generate a password for this security policy. |
int |
getAutoUnlockTime()
Gets the AutoUnlockTime(in seconds) attribute of the ISecurityPolicy object |
boolean |
getCertLogonRequired()
Deprecated. |
int |
getCookieLifeTime()
Deprecated. |
int |
getLockAfterInvalidAttempts()
Gets the Number of Allowed Logon Attempts (AllowedLogonAttempts) attribute of the ISecurityPolicy object |
int |
getLogonIdLowerCaseRequired()
Return a number indicating how many capical and lower case letters the logon id must contain. |
int |
getLogonIdMaxLength()
Return the integer value indicating the maximum length of a logon id. |
int |
getLogonIdMinLength()
Return the integer value indicating the minimum length of a logon id. |
int |
getLogonIdNumericDigitsRequired()
Return the number indicating how many alphabets and numeric values the logon id must contain. |
int |
getLogonIdSpecialCharRequired()
Return a number indicating how many special characters the logon id must contain. |
boolean |
getOldInNewAllowed()
Return a boolean indicating whether the password need to be different from the old password. |
int |
getPasswordAlphaNumericRequired()
Return the number indicating how many alphabets and numeric values the password must contain. |
boolean |
getPasswordChangeAllowed()
Return the boolean value indicating whether the password is allowed to be changed. |
boolean |
getPasswordChangeRequired()
Return the boolean value indicating whether the password is enforced to change at the first logon. |
int |
getPasswordExpiredDays()
Return the numbers of days the password is set to expired. |
int |
getPasswordMaxLength()
Gets the Password Maximum Length(PasswordMaxLength) attribute of the ISecurityPolicy object |
int |
getPasswordMinLength()
Gets the Password Minimum Length(PasswordMinLength) attribute of the ISecurityPolicy object |
int |
getPasswordMixCaseRequired()
Return a number indicating how many capical and lower case letters the password must contain. |
int |
getPasswordSpecialCharRequired()
Return the number indicating how many special characters the password must contain. |
boolean |
getUseridInPasswordAllowed()
Return a boolean indicating whether the password need to be different from the user id(uid). |
boolean |
isLogonIdValid(java.lang.String logonId)
Check the validity of the logon id against the security policy |
boolean |
isPasswordValid(java.lang.String pass)
Deprecated. please use isPasswordValid(String pass, String logonId) |
boolean |
isPasswordValid(java.lang.String pass,
java.lang.String logonId)
Check the validity of the password against the password policy |
void |
setAutoUnlockTime(int time)
Sets the AutoUnlockTime(in seconds) attribute of the ISecurityPolicy object |
void |
setCertLogonRequired(boolean clr)
Deprecated. |
void |
setCookieLifeTime(int lifeTime)
Deprecated. |
void |
setLockAfterInvalidAttempts(int count)
Sets the Number of Allowed Logon Attempts (AllowedLogonAttempts) attribute of the ISecurityPolicy object |
void |
setLogonIdLowerCaseRequired(int number)
Sets the number indicating how many capical and lower case letters the logon id must contain. |
void |
setLogonIdMaxLength(int length)
Sets the integer value indicating the maximum length of a logon id. |
void |
setLogonIdMinLength(int length)
Sets the integer value indicating the minimum length of a logon id. |
void |
setLogonIdNumericDigitsRequired(int number)
Sets the number indicating how many alphabets and numeric values the logon id must contain. |
void |
setLogonIdSpecialCharRequired(int number)
Sets the number indicating how many special characters the logon id must contain. |
void |
setOldInNewAllowed(boolean allow)
Sets the boolean indicating whether the password need to be different from the old password. |
void |
setPasswordAlphaNumericRequired(int number)
Sets the number indicating how many alphabets and numeric values the password must contain. |
void |
setPasswordChangeAllowed(boolean pca)
Sets the boolean value indicating whether the password is allowed to be changed. |
void |
setPasswordChangeRequired(boolean pca)
Sets the boolean value indicating whether the password is enforced to change. |
void |
setPasswordExpiredDays(int days)
Sets the numbers of days the password is to be expired. |
void |
setPasswordMaxLength(int length)
Sets the Password Maximum Length(PasswordMaxLength) attribute of the ISecurityPolicy object |
void |
setPasswordMinLength(int length)
Sets the Password Minimum Length(PasswordMinLength) attribute of the ISecurityPolicy object |
void |
setPasswordMixCaseRequired(int number)
Sets the number indicating how many capical and lower case letters the password must contain. |
void |
setPasswordSpecialCharRequired(int number)
Sets the number indicating how many special characters the password must contain. |
void |
setUseridInPasswordAllowed(boolean pwnur)
Sets the boolean indicating whether the password need to be different from the user id(uid). |
void |
setUserName(java.lang.String id)
Deprecated. |
java.lang.String |
validatePassword(java.lang.String pass)
Deprecated. please use validatePassword(String pass, String uid) |
java.lang.String |
validatePassword(java.lang.String pass,
java.lang.String uid)
Check the validity of the password against the password policy. |
| Method Detail |
public boolean isPasswordValid(java.lang.String pass)
throws InvalidPasswordException
pass - password to check
public boolean isPasswordValid(java.lang.String pass,
java.lang.String logonId)
throws InvalidPasswordException
pass - password to checklogoId - logonID to check against the password.public java.lang.String validatePassword(java.lang.String pass)
pass - password to checknull
public java.lang.String validatePassword(java.lang.String pass,
java.lang.String uid)
pass - password to checknullpublic java.lang.String generatePassword()
public int getLockAfterInvalidAttempts()
public void setLockAfterInvalidAttempts(int count)
count - The new AllowedLogonAttempts valuepublic int getAutoUnlockTime()
public void setAutoUnlockTime(int time)
time - The new AutoUnlockTime valuepublic int getPasswordMinLength()
public void setPasswordMinLength(int length)
length - The new PasswordMinLength valuepublic int getPasswordMaxLength()
public void setPasswordMaxLength(int length)
length - The new PasswordMaxLength valuepublic boolean getUseridInPasswordAllowed()
public void setUseridInPasswordAllowed(boolean pwnur)
pwnur - a boolean indicating whether the password need to be different
from the user id(uid).public boolean getOldInNewAllowed()
public void setOldInNewAllowed(boolean allow)
allow - a boolean indicating whether the password need to be different
from old password.public int getPasswordMixCaseRequired()
public void setPasswordMixCaseRequired(int number)
number - the number of both capical and lower case letters.public int getLogonIdLowerCaseRequired()
public void setLogonIdLowerCaseRequired(int number)
number - the number of both capical and lower case letters.public int getPasswordAlphaNumericRequired()
public void setPasswordAlphaNumericRequired(int number)
number - the number of required both alphabets and numeric values.public int getLogonIdNumericDigitsRequired()
public void setLogonIdNumericDigitsRequired(int number)
number - the number of required both alphabets and numeric values.public int getPasswordSpecialCharRequired()
public void setPasswordSpecialCharRequired(int number)
number - the number of required special characters.public int getPasswordExpiredDays()
public void setPasswordExpiredDays(int days)
days - The numbers of days the password is set to expiredpublic boolean getPasswordChangeAllowed()
public void setPasswordChangeAllowed(boolean pca)
pca - The boolean value indicating whether the password is allowed to
changedpublic boolean getPasswordChangeRequired()
public void setPasswordChangeRequired(boolean pca)
pca - The boolean value indicating whether the password is enforced to
changepublic int getLogonIdMinLength()
public void setLogonIdMinLength(int length)
length - integer value indicating the minimum length of a logon id.public int getLogonIdMaxLength()
public void setLogonIdMaxLength(int length)
length - integer value indicating the maximum length of a logon id.public int getLogonIdSpecialCharRequired()
public void setLogonIdSpecialCharRequired(int number)
number - the number of special characters.
public boolean isLogonIdValid(java.lang.String logonId)
throws InvalidLogonIdException
logonId - logonid to checkInvalidLogonIdException - if the logon id is invalid
public java.lang.String generateLogonId()
throws InvalidLogonIdException
InvalidLogonIdException - if security policy configuration
cannot be fullfilledpublic boolean getCertLogonRequired()
public void setCertLogonRequired(boolean clr)
public int getCookieLifeTime()
public void setCookieLifeTime(int lifeTime)
public void setUserName(java.lang.String id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||