public class PluginSession extends AbstractPluginSession
anonymous, applicationId, customSessionAttributes, id, impersonatorUser, session, sessionIndex, subject| Constructor and Description |
|---|
PluginSession() |
| 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.
|
setAnonymous, setApplicationId, setCustomSessionAttributes, setId, setImpersonatorUser, setSession, setSessionIndex, setSubjectpublic java.lang.String getApplicationId()
AMSessionpublic AMSubject getAuthnSubject()
AMSessionpublic java.util.Date getCreationInstant()
AMSessionpublic java.util.Map<java.lang.String,java.io.Serializable> getCustomSessionAttributes()
AMSessionpublic java.util.Date getExpiryInstant()
AMSessionpublic java.lang.String getId()
AMSessionpublic java.lang.String getImpersonatorUser()
AMSessionpublic java.util.Date getLastAccessTime()
AMSessionpublic java.util.Date getLastUpdateTime()
AMSessionpublic java.lang.String getSessionIndex()
AMSessionpublic boolean isAnonymous()
AMSessionpublic boolean isImpersonating()
AMSession