|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.silverpeas.password.rule.AbstractPasswordRule
org.silverpeas.password.rule.AtLeastXUppercasePasswordRule
public class AtLeastXUppercasePasswordRule
At least X uppercase in password. User: Yohann Chastagnier Date: 07/01/13
| Field Summary |
|---|
| Fields inherited from class org.silverpeas.password.rule.AbstractPasswordRule |
|---|
DEFAULT_LENGTH, settings |
| Constructor Summary | |
|---|---|
AtLeastXUppercasePasswordRule()
Default constructor. |
|
| Method Summary | |
|---|---|
boolean |
check(String password)
Checks the given password. |
Integer |
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. |
| Methods inherited from class org.silverpeas.password.rule.AbstractPasswordRule |
|---|
countRegexOccur, getDescription, getIntegerFromSettings, getString, getType, random |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AtLeastXUppercasePasswordRule()
| Method Detail |
|---|
public boolean isRequired()
PasswordRule
isRequired in interface PasswordRuleisRequired in class AbstractPasswordRulepublic boolean isCombined()
PasswordRule
isCombined in interface PasswordRuleisCombined in class AbstractPasswordRulepublic Integer getValue()
PasswordRule
public boolean check(String password)
PasswordRule
public String random()
PasswordRule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||