|
||||||||||
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.AtLeastXDigitPasswordRule
public class AtLeastXDigitPasswordRule
At least X digit 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 | |
---|---|
AtLeastXDigitPasswordRule()
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 AtLeastXDigitPasswordRule()
Method Detail |
---|
public boolean isRequired()
PasswordRule
isRequired
in interface PasswordRule
isRequired
in class AbstractPasswordRule
public boolean isCombined()
PasswordRule
isCombined
in interface PasswordRule
isCombined
in class AbstractPasswordRule
public 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 |