Class SessionEntity
java.lang.Object
com.atlassian.crowd.integration.rest.entity.SessionEntity
- All Implemented Interfaces:
Session
-
Constructor Summary
ConstructorsConstructorDescriptionSessionEntity
(String token, UserEntity user, Date createdDate, Date expiryDate) -
Method Summary
-
Constructor Details
-
SessionEntity
-
-
Method Details
-
getToken
Description copied from interface:Session
A session has an associated token that is granted by the server, and which can be presented by the client to identify the session. -
getUser
-
getCreatedDate
- Specified by:
getCreatedDate
in interfaceSession
- Returns:
- the date when the session was created.
-
getExpiryDate
- Specified by:
getExpiryDate
in interfaceSession
- Returns:
- the current expiry date after which the session will no longer be valid.
-
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
-