Interface User
- All Superinterfaces:
Account,Any,Attributable,Entity,Groupable<User,,UMembership, URelationship> Relatable<User,,URelationship> Serializable
public interface User
extends Account, Groupable<User,UMembership,URelationship>, Relatable<User,URelationship>
-
Field Summary
Fields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanadd(LinkedAccount account) voidaddToPasswordHistory(String password) booleancheckToken(String token) voidgenerateToken(int tokenLength, int tokenExpireTime) Optional<? extends LinkedAccount> getLinkedAccount(String resource, String connObjectKeyValue) List<? extends LinkedAccount> List<? extends LinkedAccount> getLinkedAccounts(String resource) getRoles()getToken()booleanbooleanvoidvoidvoidsetChangePwdDate(OffsetDateTime changePwdDate) voidsetFailedLogins(Integer failedLogins) voidsetLastLoginDate(OffsetDateTime lastLoginDate) voidsetMustChangePassword(boolean mustChangePassword) voidsetSecurityAnswer(String securityAnswer) voidsetSecurityQuestion(SecurityQuestion securityQuestion) Methods inherited from interface org.apache.syncope.core.persistence.api.entity.user.Account
canDecodeSecrets, getCipherAlgorithm, getPassword, getUsername, isSuspended, setCipherAlgorithm, setEncodedPassword, setPassword, setSuspended, setUsernameMethods inherited from interface org.apache.syncope.core.persistence.api.entity.Any
add, add, getAuxClasses, getCreationContext, getCreationDate, getCreator, getLastChangeContext, getLastChangeDate, getLastModifier, getRealm, getResources, getStatus, getType, setCreationContext, setCreationDate, setCreator, setLastChangeContext, setLastChangeDate, setLastModifier, setRealm, setStatus, setTypeMethods inherited from interface org.apache.syncope.core.persistence.api.entity.Attributable
add, getPlainAttr, getPlainAttrs, removeMethods inherited from interface org.apache.syncope.core.persistence.api.entity.Groupable
add, getMembership, getMemberships, getPlainAttr, getPlainAttrs, getPlainAttrs, removeMethods inherited from interface org.apache.syncope.core.persistence.api.entity.Relatable
add, getRelationship, getRelationships, getRelationships, getRelationships
-
Method Details
-
getToken
String getToken() -
getTokenExpireTime
OffsetDateTime getTokenExpireTime() -
generateToken
void generateToken(int tokenLength, int tokenExpireTime) -
removeToken
void removeToken() -
checkToken
-
hasTokenExpired
boolean hasTokenExpired() -
getChangePwdDate
OffsetDateTime getChangePwdDate() -
setChangePwdDate
-
addToPasswordHistory
-
removeOldestEntriesFromPasswordHistory
void removeOldestEntriesFromPasswordHistory(int n) -
getPasswordHistory
-
getSecurityQuestion
SecurityQuestion getSecurityQuestion() -
setSecurityQuestion
-
getSecurityAnswer
String getSecurityAnswer() -
setSecurityAnswer
-
getFailedLogins
Integer getFailedLogins() -
setFailedLogins
-
getLastLoginDate
OffsetDateTime getLastLoginDate() -
setLastLoginDate
-
isMustChangePassword
boolean isMustChangePassword() -
setMustChangePassword
void setMustChangePassword(boolean mustChangePassword) -
add
-
getRoles
-
add
-
getLinkedAccount
-
getLinkedAccounts
-
getLinkedAccounts
List<? extends LinkedAccount> getLinkedAccounts()
-