|
xmlBlaster 2.2.0 client API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xmlBlaster.client.PluginLoader
public class PluginLoader
PluginLoader
is responsible for loading
and initialization of client secuirty plugins.
Either the client application chooses an appropriate plugin, or the
xmlBlaster.propertiesfile states, which plugin has to be used, by using the
Security.Client.DefaultPlugin
-Option.
Syntax:
Security.Client.DefaultPlugin=
PluginType,PluginVersion
Hint:
Type and version must be the type and version of a valid and declared plugin.
Example:
Security.Client.DefaultPlugin=gui,1.0
Security.Client.Plugin[gui][1.0]=org.xmlBlaster.authentication.ClientSecurityHelper
If neither the application, nor the config enforce a specific plugin, the Dummy-Plugin
is used (old xmlBlaster behavior).
Constructor Summary | |
---|---|
PluginLoader(Global glob)
|
Method Summary | |
---|---|
org.xmlBlaster.authentication.plugins.I_ClientPlugin |
getClientPlugin(java.lang.String mechanism,
java.lang.String version)
Load another plugin. |
org.xmlBlaster.authentication.plugins.I_ClientPlugin |
getCurrentClientPlugin()
Get the currently used plugin |
java.lang.String |
getType()
Get the type of the currently used plugin |
java.lang.String |
getVersion()
Get the Version of the currently used plugin |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PluginLoader(Global glob)
Method Detail |
---|
public java.lang.String getType()
public java.lang.String getVersion()
public org.xmlBlaster.authentication.plugins.I_ClientPlugin getCurrentClientPlugin() throws XmlBlasterException
XmlBlasterException
public org.xmlBlaster.authentication.plugins.I_ClientPlugin getClientPlugin(java.lang.String mechanism, java.lang.String version) throws XmlBlasterException
String
- The type of the plugin, e.g. "ldap"String
- The version of the plugin, e.g. "1.0"
XmlBlasterException
- Thrown if the plugin wasn't loadable or initializable
|
xmlBlaster 2.2.0 client API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |