xmlBlaster 2.2.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: 2014-02-13 12:46:08 +0000 (Thu, 13 Feb 2014) $)
Author:
kleinerz

Method Summary
 I_Session getSessionById(java.lang.String id)
          Get the I_Session which corresponds to the given sessionId.
 java.lang.String getType()
           
 java.lang.String getVersion()
           
 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
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

getType

java.lang.String getType()
Specified by:
getType in interface I_Plugin

getVersion

java.lang.String getVersion()
Specified by:
getVersion in interface I_Plugin

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.