|
xmlBlaster 2.1.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xmlBlaster.authentication.plugins.simple.ClientPlugin
public class ClientPlugin
Helper only for Java clients.
This class does nothing else than: 1. Generate the xml string which is passed as the connect() or login() qos string with the help of SecurityQos.java 2. The messages are not crypted or modified, so the importMessage() and exportMessage() methods do nothing.
SecurityQos| Field Summary | |
|---|---|
private Global |
glob
|
static java.lang.String |
ME
|
| Constructor Summary | |
|---|---|
ClientPlugin()
|
|
| Method Summary | |
|---|---|
I_SecurityQos |
createSecurityQos()
The client application can use this method to get a new I_SecurityQos instance, and use it to set userId/password etc. |
MsgUnitRaw |
exportMessage(CryptDataHolder dataHolder)
Encrypt, sign, seal an outgoing message. |
java.lang.String |
getType()
|
java.lang.String |
getVersion()
|
MsgUnitRaw |
importMessage(CryptDataHolder dataHolder)
Decrypt, check, unseal etc an incomming message. |
void |
init(Global glob,
PluginInfo pluginInfo)
|
void |
setSessionData(java.lang.String sessionData)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ME
private Global glob
| Constructor Detail |
|---|
public ClientPlugin()
| Method Detail |
|---|
public void init(Global glob,
PluginInfo pluginInfo)
init in interface I_ClientPluginpublic java.lang.String getType()
getType in interface I_ClientPluginpublic java.lang.String getVersion()
getVersion in interface I_ClientPluginpublic I_SecurityQos createSecurityQos()
createSecurityQos in interface I_ClientPluginpublic void setSessionData(java.lang.String sessionData)
setSessionData in interface I_ClientPlugin
public MsgUnitRaw importMessage(CryptDataHolder dataHolder)
throws XmlBlasterException
I_MsgSecurityInterceptor
importMessage in interface I_MsgSecurityInterceptordataHolder - A container holding the MsgUnitRaw and some additional informations
XmlBlasterException - Thrown i.e. if the message has been modifiedI_MsgSecurityInterceptor.exportMessage(CryptDataHolder)
public MsgUnitRaw exportMessage(CryptDataHolder dataHolder)
throws XmlBlasterException
I_MsgSecurityInterceptor
exportMessage in interface I_MsgSecurityInterceptordataHolder - A container holding the MsgUnitRaw and some additional informations
XmlBlasterException - Thrown if the message cannot be processedI_MsgSecurityInterceptor.importMessage(CryptDataHolder)
|
xmlBlaster 2.1.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||