public interface AMSession
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApplicationId()
Application id will be an optional property.
|
AMSubject |
getAuthnSubject()
If the authentication succeeds the the subject will be set as the
response.
|
java.util.Date |
getCreationInstant()
Method returns the creation instant for this session object.
|
java.util.Map<java.lang.String,java.io.Serializable> |
getCustomSessionAttributes()
Gets the custom session attributes.
|
java.util.Date |
getExpiryInstant()
Method returns the expire instant for this session.
|
java.lang.String |
getId()
Returns the session id value.
|
java.lang.String |
getImpersonatorUser()
Gets the impersonator user.
|
java.util.Date |
getLastAccessTime()
Method returns the time the session was last accessed.
|
java.util.Date |
getLastUpdateTime()
Method returns the time the session was last updated.
|
java.lang.String |
getSessionIndex()
SessionIndex will be used to identity different session for the same
user.This will be used by SME to create a user session.
|
boolean |
isAnonymous()
Checks if the scheme is anonymous or not.
|
boolean |
isImpersonating()
If this is an impersonating session, return true.
|
java.lang.String getId()
java.lang.String getApplicationId()
appId
- AMSubject getAuthnSubject()
java.lang.String getSessionIndex()
java.util.Date getCreationInstant()
java.util.Date getExpiryInstant()
java.util.Date getLastUpdateTime()
java.util.Date getLastAccessTime()
boolean isAnonymous()
java.util.Map<java.lang.String,java.io.Serializable> getCustomSessionAttributes()
boolean isImpersonating()
java.lang.String getImpersonatorUser()