Class PasswordPolicyEntity
- java.lang.Object
-
- org.silverpeas.core.webapi.password.PasswordPolicyEntity
-
public class PasswordPolicyEntity extends Object
- Author:
- Yohann Chastagnier
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PasswordPolicyEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PasswordPolicyEntity
addCombinedRule(PasswordRuleEntity rule)
PasswordPolicyEntity
addRule(PasswordRuleEntity rule)
static PasswordPolicyEntity
createFrom(int nbMatchingCombinedRules, String extraRuleMessage)
Creates a new password policy entityMap<String,PasswordRuleEntity>
getCombinedRules()
String
getExtraRuleMessage()
int
getNbMatchingCombinedRules()
Map<String,PasswordRuleEntity>
getRules()
-
-
-
Method Detail
-
createFrom
public static PasswordPolicyEntity createFrom(int nbMatchingCombinedRules, String extraRuleMessage)
Creates a new password policy entity- Parameters:
nbMatchingCombinedRules
-extraRuleMessage
-- Returns:
- the entity representing the specified rule.
-
addRule
public PasswordPolicyEntity addRule(PasswordRuleEntity rule)
-
addCombinedRule
public PasswordPolicyEntity addCombinedRule(PasswordRuleEntity rule)
-
getRules
public Map<String,PasswordRuleEntity> getRules()
-
getNbMatchingCombinedRules
public int getNbMatchingCombinedRules()
-
getCombinedRules
public Map<String,PasswordRuleEntity> getCombinedRules()
-
getExtraRuleMessage
public String getExtraRuleMessage()
-
-