Skip navigation links

Oracle Access Manager Extensibility Java API Reference
11g Release 1 (11.1.1.5)

E22473-01


oracle.security.am.plugin
Interface AMSession


public interface AMSession

SSO Session created for OAM server. Session can be used to retrieve session attributes.

Since:
OAM 11.1.1.5.0
Version:
OAM 11.1.1.5.0

Method Summary
 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.

 

Method Detail

getId

java.lang.String getId()
Returns the session id value.
Returns:
the id

getApplicationId

java.lang.String getApplicationId()
Application id will be an optional property. Application id may be required to pass to the client side to establish a client session.
Parameters:
appId -

getAuthnSubject

AMSubject getAuthnSubject()
If the authentication succeeds the the subject will be set as the response. subject will be required to create a SSO session.
Returns:
the subject

getSessionIndex

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.
Returns:
the session index

getCreationInstant

java.util.Date getCreationInstant()
Method returns the creation instant for this session object.
Returns:
creation instant

getExpiryInstant

java.util.Date getExpiryInstant()
Method returns the expire instant for this session.
Returns:
expire instant.

getLastUpdateTime

java.util.Date getLastUpdateTime()
Method returns the time the session was last updated.
Returns:
last update time.

getLastAccessTime

java.util.Date getLastAccessTime()
Method returns the time the session was last accessed.
Returns:
last accessTime;

isAnonymous

boolean isAnonymous()
Checks if the scheme is anonymous or not.
Returns:
the anonymous

getCustomSessionAttributes

java.util.Map<java.lang.String,java.io.Serializable> getCustomSessionAttributes()
Gets the custom session attributes.
Returns:
the custom session attributes

isImpersonating

boolean isImpersonating()
If this is an impersonating session, return true.
Returns:
true, if is impersonating

getImpersonatorUser

java.lang.String getImpersonatorUser()
Gets the impersonator user.
Returns:
the impersonator user

Skip navigation links

Oracle Access Manager Extensibility Java API Reference
11g Release 1 (11.1.1.5)

E22473-01


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.