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
- See Also:
-
Field Summary
FieldsFields inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
LOGFields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(Implementation rule) intList<? extends Implementation> getRules()booleanvoidsetAllowNullPassword(boolean allowNullPassword) voidsetHistoryLength(int historyLength) Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.policy.AbstractPolicy
getName, setNameMethods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
getKey, setKeyMethods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
checkImplementationType, checkType, equals, hashCode, toString
-
Field Details
-
TABLE
- See Also:
-
-
Constructor Details
-
JPAPasswordPolicy
public JPAPasswordPolicy()
-
-
Method Details
-
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
- Specified by:
addin interfacePasswordPolicy
-
getRules
- Specified by:
getRulesin interfacePasswordPolicy
-