public class JahiaPasswordPolicy extends Object implements Serializable
| Constructor and Description |
|---|
JahiaPasswordPolicy()
Initializes an instance of this class.
|
JahiaPasswordPolicy(JahiaPasswordPolicy policy)
Copy constructor
|
JahiaPasswordPolicy(String id,
String name,
boolean userAllowedToChangePassword)
Initializes an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getId()
Returns the policy id.
|
String |
getName()
Returns the policy name.
|
JahiaPasswordPolicyRule |
getRule(int position)
Returns the requested policy rule.
|
List<JahiaPasswordPolicyRule> |
getRules()
Returns list of rules for this policy.
|
int |
hashCode() |
void |
setId(String id)
Sets the value of policy id.
|
void |
setName(String name)
Sets the value of policy name.
|
void |
setRules(List<JahiaPasswordPolicyRule> rules)
Sets the list of rules for this policy.
|
String |
toString() |
public JahiaPasswordPolicy()
public JahiaPasswordPolicy(String id, String name, boolean userAllowedToChangePassword)
id - name - public JahiaPasswordPolicy(JahiaPasswordPolicy policy)
policy - the policy to create the copy frompublic String getId()
public String getName()
public JahiaPasswordPolicyRule getRule(int position)
position - the rule position in the list (zero-based)public List<JahiaPasswordPolicyRule> getRules()
public void setId(String id)
id - the policy id to setpublic void setName(String name)
name - the policy name to setpublic void setRules(List<JahiaPasswordPolicyRule> rules)
rules - the list of rules for this policyCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.