Package org.apache.syncope.common.lib.to
Class UserTO
- java.lang.Object
-
- org.apache.syncope.common.lib.to.AnyTO
-
- org.apache.syncope.common.lib.to.UserTO
-
- All Implemented Interfaces:
Serializable
,Attributable
,BaseBean
,RealmMember
,EntityTO
,GroupableRelatableTO
public class UserTO extends AnyTO implements GroupableRelatableTO
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserTO()
-
Method Summary
-
Methods inherited from class org.apache.syncope.common.lib.to.AnyTO
getAuxClasses, getCreationContext, getCreationDate, getCreator, getDerAttr, getDerAttrs, getDynRealms, getETagValue, getKey, getLastChangeContext, getLastChangeDate, getLastModifier, getPlainAttr, getPlainAttrs, getRealm, getResources, getStatus, getVirAttr, getVirAttrs, setCreationContext, setCreationDate, setCreator, setDiscriminator, setKey, setLastChangeContext, setLastChangeDate, setLastModifier, setRealm, setStatus
-
-
-
-
Method Detail
-
getDiscriminator
public String getDiscriminator()
- Specified by:
getDiscriminator
in classAnyTO
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
getToken
public String getToken()
-
setToken
public void setToken(String token)
-
getTokenExpireTime
public OffsetDateTime getTokenExpireTime()
-
setTokenExpireTime
public void setTokenExpireTime(OffsetDateTime tokenExpireTime)
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
getChangePwdDate
public OffsetDateTime getChangePwdDate()
-
getFailedLogins
public Integer getFailedLogins()
-
getLastLoginDate
public OffsetDateTime getLastLoginDate()
-
setChangePwdDate
public void setChangePwdDate(OffsetDateTime changePwdDate)
-
setFailedLogins
public void setFailedLogins(Integer failedLogins)
-
setLastLoginDate
public void setLastLoginDate(OffsetDateTime lastLoginDate)
-
getSecurityQuestion
public String getSecurityQuestion()
-
setSecurityQuestion
public void setSecurityQuestion(String securityQuestion)
-
getSecurityAnswer
public String getSecurityAnswer()
-
setSecurityAnswer
public void setSecurityAnswer(String securityAnswer)
-
isSuspended
public boolean isSuspended()
-
setSuspended
public void setSuspended(boolean suspended)
-
isMustChangePassword
public boolean isMustChangePassword()
-
setMustChangePassword
public void setMustChangePassword(boolean mustChangePassword)
-
getRelationship
public Optional<RelationshipTO> getRelationship(String type, String otherKey)
- Specified by:
getRelationship
in interfaceGroupableRelatableTO
-
getRelationships
public List<RelationshipTO> getRelationships()
- Specified by:
getRelationships
in interfaceGroupableRelatableTO
-
getMembership
public Optional<MembershipTO> getMembership(String groupKey)
- Specified by:
getMembership
in interfaceGroupableRelatableTO
-
getMemberships
public List<MembershipTO> getMemberships()
- Specified by:
getMemberships
in interfaceGroupableRelatableTO
-
getDynMemberships
public List<MembershipTO> getDynMemberships()
- Specified by:
getDynMemberships
in interfaceGroupableRelatableTO
-
getLinkedAccounts
public List<LinkedAccountTO> getLinkedAccounts()
-
-