|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PasswordRule
Interface that defines methods of a password rule. User: Yohann Chastagnier Date: 07/01/13
| Method Summary | ||
|---|---|---|
boolean |
check(String password)
Checks the given password. |
|
String |
getDescription(String language)
Gets the description of the rule according to a language. |
|
PasswordRuleType |
getType()
Gets the type password rule. |
|
|
getValue()
Gets the value of the parameter defined in settings for the rule. |
|
boolean |
isCombined()
Indicates if the rule is combined one. |
|
boolean |
isRequired()
Indicates if the rule is required. |
|
String |
random()
Generates a random password part according to the nature of the rule. |
|
| Method Detail |
|---|
PasswordRuleType getType()
boolean isRequired()
boolean isCombined()
<T> T getValue()
T -
String random()
boolean check(String password)
String getDescription(String language)
language -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||