|
||||||||||
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.AtLeastXSpecialCharPasswordRule
public class AtLeastXSpecialCharPasswordRule
At least X digit char 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 | |
---|---|
AtLeastXSpecialCharPasswordRule()
Default constructor. |
Method Summary | |
---|---|
boolean |
check(String password)
Checks the given password. |
String |
getDescription(String language)
Gets the description of the rule according to a language. |
String |
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, 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 AtLeastXSpecialCharPasswordRule()
Method Detail |
---|
public String getDescription(String language)
PasswordRule
getDescription
in interface PasswordRule
getDescription
in class AbstractPasswordRule
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 String 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 |