xmlBlaster 2.2.0 API

org.xmlBlaster.protocol
Interface I_Authenticate

All Known Implementing Classes:
AuthenticateProtector

public interface I_Authenticate

This is the native interface to xmlBlaster-authentication.

All login/logout or connect/disconnect calls access xmlBlaster's authentication plugins through these methods. This interface is implemented by authentication/Authenticate.java

Author:
xmlBlaster@marcelruff.info
See Also:
CORBA xmlBlaster.idl, Authenticate

Method Summary
 java.lang.String connect(AddressServer addressServer, java.lang.String qos)
           
 java.lang.String connect(AddressServer addressServer, java.lang.String qos, java.lang.String sessionId)
           
 ConnectReturnQosServer connect(ConnectQosServer qos)
           
 ConnectReturnQosServer connect(ConnectQosServer qos, java.lang.String sessionId)
           
 void connectionState(java.lang.String secretSessionId, ConnectionStateEnum state)
          A protocol may inform the client is lost (currently only the SOCKET protocol plugin supports it)
 void disconnect(AddressServer addressServer, java.lang.String sessionId, java.lang.String qos_literal)
           
 ServerScope getGlobal()
           
 I_AdminSubject getSubjectInfoByName(SessionName sessionName)
          Administrative access.
 I_XmlBlaster getXmlBlaster()
           
 java.lang.String ping(AddressServer addressServer, java.lang.String qos)
          Ping to check if xmlBlaster is alive and willing to accept messages.
 boolean sessionExists(java.lang.String sessionId)
           
 java.lang.String toXml()
           
 

Method Detail

sessionExists

boolean sessionExists(java.lang.String sessionId)

getGlobal

ServerScope getGlobal()

getXmlBlaster

I_XmlBlaster getXmlBlaster()

connect

ConnectReturnQosServer connect(ConnectQosServer qos)
                               throws XmlBlasterException
Throws:
XmlBlasterException
See Also:
The interface.connect requirement

connect

java.lang.String connect(AddressServer addressServer,
                         java.lang.String qos)
                         throws XmlBlasterException
Throws:
XmlBlasterException
See Also:
The interface.connect requirement

connect

ConnectReturnQosServer connect(ConnectQosServer qos,
                               java.lang.String sessionId)
                               throws XmlBlasterException
Throws:
XmlBlasterException

connect

java.lang.String connect(AddressServer addressServer,
                         java.lang.String qos,
                         java.lang.String sessionId)
                         throws XmlBlasterException
Throws:
XmlBlasterException

disconnect

void disconnect(AddressServer addressServer,
                java.lang.String sessionId,
                java.lang.String qos_literal)
                throws XmlBlasterException
Throws:
XmlBlasterException
See Also:
The interface.disconnect requirement

ping

java.lang.String ping(AddressServer addressServer,
                      java.lang.String qos)
Ping to check if xmlBlaster is alive and willing to accept messages.

See Also:
org.xmlBlaster.protocol.I_XmlBlaster#ping(String)

connectionState

void connectionState(java.lang.String secretSessionId,
                     ConnectionStateEnum state)
A protocol may inform the client is lost (currently only the SOCKET protocol plugin supports it)

Parameters:
state - ConnectionStateEnum.DEAD

getSubjectInfoByName

I_AdminSubject getSubjectInfoByName(SessionName sessionName)
                                    throws XmlBlasterException
Administrative access. For security reasons the I_AdminSubject implementation is SubjectInfoProtector

Throws:
XmlBlasterException

toXml

java.lang.String toXml()
                       throws XmlBlasterException
Throws:
XmlBlasterException

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.