Interface AMSession

All Known Implementing Classes:
AbstractPluginSession, PluginSession

public interface AMSession
SSO Session created for OAM server. Session can be used to retrieve session attributes.
Since:
OAM11gR1
  • Method Details

    • getId

      String getId()
      Returns the session id value.
      Returns:
      the id
    • getApplicationId

      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

      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

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

      Date getExpiryInstant()
      Method returns the expire instant for this session.
      Returns:
      expire instant.
    • getLastUpdateTime

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

      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

      Map<String,<wbr>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

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