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, setSubject
public java.lang.String getApplicationId()
AMSession
public AMSubject getAuthnSubject()
AMSession
public java.util.Date getCreationInstant()
AMSession
public java.util.Map<java.lang.String,java.io.Serializable> getCustomSessionAttributes()
AMSession
public java.util.Date getExpiryInstant()
AMSession
public java.lang.String getId()
AMSession
public java.lang.String getImpersonatorUser()
AMSession
public java.util.Date getLastAccessTime()
AMSession
public java.util.Date getLastUpdateTime()
AMSession
public java.lang.String getSessionIndex()
AMSession
public boolean isAnonymous()
AMSession
public boolean isImpersonating()
AMSession