xmlBlaster 2.1.0 API

org.xmlBlaster.authentication.plugins
Interface I_ClientPlugin

All Superinterfaces:
I_MsgSecurityInterceptor
All Known Implementing Classes:
ClientPlugin, ClientPlugin, ClientPlugin, ClientPlugin

public interface I_ClientPlugin
extends I_MsgSecurityInterceptor

A client helper. Class for java clients, decrypting messages which came from the corresponding security plugin.

If for example the server security plugin crypts messages with rot13, we need to decrypt it on the client side with the same algorithm. This is done here.

The reason is for clients to access xmlBlaster transparently from the authentication method

For every plugin type you need, you need on instance of this class.


Method Summary
 I_SecurityQos createSecurityQos()
          Access a helper class to generate the xml string for authentication.
 java.lang.String getType()
           
 java.lang.String getVersion()
           
 void init(Global glob, PluginInfo pluginInfo)
           
 void setSessionData(java.lang.String sessionData)
           
 
Methods inherited from interface org.xmlBlaster.authentication.plugins.I_MsgSecurityInterceptor
exportMessage, importMessage
 

Method Detail

init

void init(Global glob,
          PluginInfo pluginInfo)
          throws XmlBlasterException
Throws:
XmlBlasterException

getType

java.lang.String getType()
Returns:
The plugin type, e.g. "htpasswd"

getVersion

java.lang.String getVersion()
Returns:
The plugin version, e.g. "1.0"

createSecurityQos

I_SecurityQos createSecurityQos()
Access a helper class to generate the xml string for authentication. This string is used as part of the qos on connect.

Note that with each invocation a new instance is returned which you have to initialize with your credentials (e.g. your login name and password).


setSessionData

void setSessionData(java.lang.String sessionData)

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.