Class JPAAccountPolicy
- 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.JPAAccountPolicy
-
- All Implemented Interfaces:
Serializable
,Entity
,AccountPolicy
,Policy
@Entity public class JPAAccountPolicy extends AbstractPolicy implements AccountPolicy
- 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 JPAAccountPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(ExternalResource resource)
boolean
add(Implementation rule)
int
getMaxAuthenticationAttempts()
Set<? extends ExternalResource>
getResources()
List<? extends Implementation>
getRules()
boolean
isPropagateSuspension()
void
setMaxAuthenticationAttempts(int maxAuthenticationAttempts)
void
setPropagateSuspension(boolean propagateSuspension)
-
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
-
isPropagateSuspension
public boolean isPropagateSuspension()
- Specified by:
isPropagateSuspension
in interfaceAccountPolicy
-
setPropagateSuspension
public void setPropagateSuspension(boolean propagateSuspension)
- Specified by:
setPropagateSuspension
in interfaceAccountPolicy
-
getMaxAuthenticationAttempts
public int getMaxAuthenticationAttempts()
- Specified by:
getMaxAuthenticationAttempts
in interfaceAccountPolicy
-
setMaxAuthenticationAttempts
public void setMaxAuthenticationAttempts(int maxAuthenticationAttempts)
- Specified by:
setMaxAuthenticationAttempts
in interfaceAccountPolicy
-
add
public boolean add(Implementation rule)
- Specified by:
add
in interfaceAccountPolicy
-
getRules
public List<? extends Implementation> getRules()
- Specified by:
getRules
in interfaceAccountPolicy
-
add
public boolean add(ExternalResource resource)
- Specified by:
add
in interfaceAccountPolicy
-
getResources
public Set<? extends ExternalResource> getResources()
- Specified by:
getResources
in interfaceAccountPolicy
-
-