com.atlassian.crowd.integration.rest.entity
Class SessionEntity
java.lang.Object
com.atlassian.crowd.integration.rest.entity.SessionEntity
- All Implemented Interfaces:
- Session
public class SessionEntity
- extends Object
- implements Session
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionEntity
public SessionEntity(String token,
UserEntity user,
Date createdDate,
Date expiryDate)
getToken
public String getToken()
- Specified by:
getToken in interface Session
getUser
public UserEntity getUser()
getCreatedDate
public Date getCreatedDate()
- Specified by:
getCreatedDate in interface Session
getExpiryDate
public Date getExpiryDate()
- Specified by:
getExpiryDate in interface Session
getUnaliasedUsername
@Nullable
public String getUnaliasedUsername()
- If this user has been aliased Crowd may also provide the original
unaliased name.
- Returns:
- the original username, or
null - Since:
- 2.6.2
Copyright © 2014 Atlassian. All Rights Reserved.