Interface SessionManager

All Superinterfaces:
Object

public interface SessionManager extends Object
The session manager for username/password authenticated users that is responsible for managing Session objects. New session objects are created by the Router object calling on an application-provided session manager. If no session manager is provided by the application, no client-visible sessions are passed to the client.
See Also:
  • Method Details

    • create

      SessionPrx create(String userId, SessionControlPrx control, Current current) throws CannotCreateSessionException
      Create a new session.
      Parameters:
      userId - The user id for the session.
      control - A proxy to the session control object.
      current - The Current object for the invocation.
      Returns:
      A proxy to the newly created session.
      Throws:
      CannotCreateSessionException - Raised if the session cannot be created.
    • ice_ids

      default String[] ice_ids(Current current)
      Description copied from interface: Object
      Returns the Slice type IDs of the interfaces supported by this object.
      Specified by:
      ice_ids in interface Object
      Parameters:
      current - The Current object for the invocation.
      Returns:
      The Slice type IDs of the interfaces supported by this object, in base-to-derived order. The first element of the returned array is always ::Ice::Object.
    • ice_id

      default String ice_id(Current current)
      Description copied from interface: Object
      Returns the Slice type ID of the most-derived interface supported by this object.
      Specified by:
      ice_id in interface Object
      Parameters:
      current - The Current object for the invocation.
      Returns:
      The Slice type ID of the most-derived interface.
    • ice_staticId

      static String ice_staticId()
      Description copied from interface: Object
      Returns the Slice type ID of the interface supported by this object.
      Returns:
      The return value is always ::Ice::Object.