Class PartialSession
- java.lang.Object
-
- org.forgerock.openam.dpro.session.PartialSession
-
public class PartialSession extends Object
The JSON representation of partially described session objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPartialSession.BuilderA builder to help with construction ofPartialSessioninstances.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.forgerock.json.JsonValueasJson()StringgetLatestAccessTime()The timestamp of when the session was last used.StringgetMaxIdleExpirationTime()The timestamp of when the max idle timeout will be reached.StringgetMaxSessionExpirationTime()The timestamp of when the max session timeout will be reached.StringgetRealm()Returns the realm associated with this partial session.StringgetSessionHandle()Returns the session handle associated with this partial session.StringgetUniversalId()Returns the universal ID associated with this partial session.StringgetUsername()Returns the username associated with this partial session.
-
-
-
Method Detail
-
getUsername
public String getUsername()
Returns the username associated with this partial session.- Returns:
- The user friendly username.
-
getUniversalId
public String getUniversalId()
Returns the universal ID associated with this partial session.- Returns:
- The universal ID of the user this partial session belongs to.
-
getRealm
public String getRealm()
Returns the realm associated with this partial session.- Returns:
- The realm where this session was created.
-
getSessionHandle
public String getSessionHandle()
Returns the session handle associated with this partial session.- Returns:
- The session's handle.
-
getLatestAccessTime
public String getLatestAccessTime()
The timestamp of when the session was last used.- Returns:
- The timestamp of when the session was last used.
-
getMaxIdleExpirationTime
public String getMaxIdleExpirationTime()
The timestamp of when the max idle timeout will be reached.- Returns:
- When this session will time out due to inactivity.
-
getMaxSessionExpirationTime
public String getMaxSessionExpirationTime()
The timestamp of when the max session timeout will be reached.- Returns:
- When the session will time out.
-
asJson
public org.forgerock.json.JsonValue asJson()
-
-