Class JPAPasswordPolicy
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
-
- org.apache.syncope.core.persistence.jpa.entity.policy.AbstractPolicy
-
- org.apache.syncope.core.persistence.jpa.entity.policy.JPAPasswordPolicy
-
- All Implemented Interfaces:
Serializable,Entity,PasswordPolicy,Policy
@Entity public class JPAPasswordPolicy extends AbstractPolicy implements PasswordPolicy
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringTABLE-
Fields inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
LOG
-
Fields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
-
-
Constructor Summary
Constructors Constructor Description JPAPasswordPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(Implementation rule)intgetHistoryLength()List<? extends Implementation>getRules()booleanisAllowNullPassword()voidsetAllowNullPassword(boolean allowNullPassword)voidsetHistoryLength(int historyLength)-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.policy.AbstractPolicy
getName, setName
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
getKey, setKey
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
checkImplementationType, checkType, equals, hashCode, toString
-
-
-
-
Field Detail
-
TABLE
public static final String TABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
isAllowNullPassword
public boolean isAllowNullPassword()
- Specified by:
isAllowNullPasswordin interfacePasswordPolicy
-
setAllowNullPassword
public void setAllowNullPassword(boolean allowNullPassword)
- Specified by:
setAllowNullPasswordin interfacePasswordPolicy
-
getHistoryLength
public int getHistoryLength()
- Specified by:
getHistoryLengthin interfacePasswordPolicy
-
setHistoryLength
public void setHistoryLength(int historyLength)
- Specified by:
setHistoryLengthin interfacePasswordPolicy
-
add
public boolean add(Implementation rule)
- Specified by:
addin interfacePasswordPolicy
-
getRules
public List<? extends Implementation> getRules()
- Specified by:
getRulesin interfacePasswordPolicy
-
-