|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PasswordRules
| Method Summary | |
|---|---|
int |
getDifferentCharacters()
Gets the number of minimum different characters in the new password compared to previous passwords. |
int |
getDigits()
Gets the minimum number of Digits in new password. |
int |
getDisableUserTime()
Gets the days after the user will be disabled (after password expired). |
int |
getExpirationTime()
Return number of days after the password will expire (starting from day the current pasword was set). |
int |
getLetters()
Gets the minimum number of Letters in new password. |
int |
getMinimalPasswordLength()
Gets the minimum password length. |
int |
getMixedCase()
Gets the number for mixed case characters. |
int |
getNotificationMails()
Check if notification mails should be send. |
int |
getPasswordTracking()
Check if password tracking is enabled. |
int |
getPunctuation()
Sets the minimum number of punctuation characters ('!"$%()=?+/*) in new password. |
boolean |
isForcePasswordChange()
Checks if force password change flag is set. |
boolean |
isStrongPassword()
Checks if strong password flag is set. |
boolean |
isUniquePassword()
Checks if flag for unique password is set. |
void |
setDifferentCharacters(int length)
Sets the number of minimum different characters in the new password compared to previous passwords. |
void |
setDigits(int length)
Sets the minimum number of Digits in new password. |
void |
setDisableUserTime(int days)
Sets the days after the user will be disabled (after password expired). |
void |
setExpirationTime(int days)
Sets the days a new password will be valid. |
void |
setForcePasswordChange(boolean forcePasswordChange)
Set force password change flag. |
void |
setLetters(int length)
Sets the minimum number of Letters in new password. |
void |
setMinimalPasswordLength(int length)
Sets the minimum password length. |
void |
setMixedCase(int length)
The password needs to include at least n lowercase (a-z) and n uppercase (A-Z) characters. |
void |
setNotificationMails(int days)
Enables when notification mail should be send out before password expires. |
void |
setPasswordTracking(int number)
Enables password tracking if value is > 0. |
void |
setPunctuation(int length)
Sets the minimum number of punctuation characters ('!"$%()=?+/*) in new password. |
void |
setStrongPassword(boolean strongPassword)
Set strong password flag. |
void |
setUniquePassword(boolean uniquePassword)
Set unique password flag. |
| Method Detail |
|---|
boolean isUniquePassword()
void setUniquePassword(boolean uniquePassword)
uniquePassword - true for unique passwords, otherwise falseboolean isForcePasswordChange()
void setForcePasswordChange(boolean forcePasswordChange)
forcePasswordChange - true to force password changes,
otherwise falseboolean isStrongPassword()
void setStrongPassword(boolean strongPassword)
strongPassword - true to force strong passwords that applies
to a given rule, otherwise falsevoid setNotificationMails(int days)
days - Number of days before password expires.int getNotificationMails()
void setPasswordTracking(int number)
number - Number of old passwords to store.int getPasswordTracking()
void setExpirationTime(int days)
days - Number of days.int getExpirationTime()
void setDisableUserTime(int days)
days - Number of days (-1 will never disable the user).int getDisableUserTime()
void setDifferentCharacters(int length)
length - Number of different characters.int getDifferentCharacters()
void setMinimalPasswordLength(int length)
length - Length.int getMinimalPasswordLength()
void setLetters(int length)
length - Number.int getLetters()
void setDigits(int length)
length - Number.int getDigits()
void setMixedCase(int length)
length - Number.int getMixedCase()
void setPunctuation(int length)
length - Number.int getPunctuation()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||