xmlBlaster 2.1.0 API

org.xmlBlaster.authentication.plugins
Interface I_Manager

All Superinterfaces:
I_Plugin
All Known Implementing Classes:
Manager, Manager, Manager, Manager

public interface I_Manager
extends I_Plugin

Version:
$Revision: 1.7 $ (State: $State) (Date: $Date: 2007-08-25 07:54:07 +0000 (Sat, 25 Aug 2007) $)
Author:
kleinerz

Method Summary
 I_Session getSessionById(java.lang.String id)
          Get the I_Session which corresponds to the given sessionId.
 void releaseSession(java.lang.String sessionId, java.lang.String qos_literal)
          Releases a reserved I_Session.
 I_Session reserveSession(java.lang.String sessionId)
          The session handling.
 
Methods inherited from interface org.xmlBlaster.util.plugin.I_Plugin
getType, getVersion, init, shutdown
 

Method Detail

reserveSession

I_Session reserveSession(java.lang.String sessionId)
                         throws XmlBlasterException
The session handling. org.xmlBlaster.authentication.Authenticate.connect(...) and login(...) calls this method to get a new I_Session and bind it to the session.

Parameters:
String - sessionId
Throws:
XmlBlasterException

releaseSession

void releaseSession(java.lang.String sessionId,
                    java.lang.String qos_literal)
                    throws XmlBlasterException
Releases a reserved I_Session.

Parameters:
String - The id of the session, which has to be released.
String - This qos literal could contain a proof of authenticity, etc.
Throws:
XmlBlasterException

getSessionById

I_Session getSessionById(java.lang.String id)
                         throws XmlBlasterException
Get the I_Session which corresponds to the given sessionId.

Parameters:
String - The sessionId
Returns:
I_Session
Throws:
XmlBlasterException

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.