Package oracle.security.am.plugin.impl
Class PluginSession
java.lang.Object
oracle.security.am.plugin.impl.AbstractPluginSession
oracle.security.am.plugin.impl.PluginSession
- All Implemented Interfaces:
AMSession
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionApplication id will be an optional property.If the authentication succeeds the the subject will be set as the response.Method returns the creation instant for this session object.Map<String,<wbr>Serializable>Gets the custom session attributes.Method returns the expire instant for this session.getId()Returns the session id value.Gets the impersonator user.Method returns the time the session was last accessed.Method returns the time the session was last updated.SessionIndex will be used to identity different session for the same user.This will be used by SME to create a user session.booleanChecks if the scheme is anonymous or not.booleanIf this is an impersonating session, return true.Methods inherited from class oracle.security.am.plugin.impl.AbstractPluginSession
setAnonymous, setApplicationId, setCustomSessionAttributes, setId, setImpersonatorUser, setSession, setSessionIndex, setSubject
-
Constructor Details
-
PluginSession
public PluginSession()
-
-
Method Details
-
getApplicationId
Description copied from interface:AMSessionApplication id will be an optional property. Application id may be required to pass to the client side to establish a client session. -
getAuthnSubject
Description copied from interface:AMSessionIf the authentication succeeds the the subject will be set as the response. subject will be required to create a SSO session.- Returns:
- the subject
-
getCreationInstant
Description copied from interface:AMSessionMethod returns the creation instant for this session object.- Returns:
- creation instant
-
getCustomSessionAttributes
Description copied from interface:AMSessionGets the custom session attributes.- Returns:
- the custom session attributes
-
getExpiryInstant
Description copied from interface:AMSessionMethod returns the expire instant for this session.- Returns:
- expire instant.
-
getId
Description copied from interface:AMSessionReturns the session id value.- Returns:
- the id
-
getImpersonatorUser
Description copied from interface:AMSessionGets the impersonator user.- Returns:
- the impersonator user
-
getLastAccessTime
Description copied from interface:AMSessionMethod returns the time the session was last accessed.- Returns:
- last accessTime;
-
getLastUpdateTime
Description copied from interface:AMSessionMethod returns the time the session was last updated.- Returns:
- last update time.
-
getSessionIndex
Description copied from interface:AMSessionSessionIndex will be used to identity different session for the same user.This will be used by SME to create a user session.- Returns:
- the session index
-
isAnonymous
public boolean isAnonymous()Description copied from interface:AMSessionChecks if the scheme is anonymous or not.- Returns:
- the anonymous
-
isImpersonating
public boolean isImpersonating()Description copied from interface:AMSessionIf this is an impersonating session, return true.- Returns:
- true, if is impersonating
-