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 String
TABLE
-
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 boolean
add(Implementation rule)
int
getHistoryLength()
List<? extends Implementation>
getRules()
boolean
isAllowNullPassword()
void
setAllowNullPassword(boolean allowNullPassword)
void
setHistoryLength(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:
isAllowNullPassword
in interfacePasswordPolicy
-
setAllowNullPassword
public void setAllowNullPassword(boolean allowNullPassword)
- Specified by:
setAllowNullPassword
in interfacePasswordPolicy
-
getHistoryLength
public int getHistoryLength()
- Specified by:
getHistoryLength
in interfacePasswordPolicy
-
setHistoryLength
public void setHistoryLength(int historyLength)
- Specified by:
setHistoryLength
in interfacePasswordPolicy
-
add
public boolean add(Implementation rule)
- Specified by:
add
in interfacePasswordPolicy
-
getRules
public List<? extends Implementation> getRules()
- Specified by:
getRules
in interfacePasswordPolicy
-
-