|
||||||||||
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.AtLeastXLowercasePasswordRule
public class AtLeastXLowercasePasswordRule
At least X lowercase 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 | |
---|---|
AtLeastXLowercasePasswordRule()
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 AtLeastXLowercasePasswordRule()
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 |