|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xmlBlaster.authentication.plugins.ldap.Manager
This security manager just implements the necessary interfaces and delegates login checks (authentication of a client) to LDAP.
Authorization is not implemented, please read javadoc of LdapGateway if you need LDAP authorization.
LdapGateway| Field Summary | |
private Global |
glob
|
private static java.lang.String |
ME
|
private java.util.Hashtable |
sessions
|
private static java.lang.String |
TYPE
|
private static java.lang.String |
VERSION
|
| Constructor Summary | |
Manager()
|
|
| Method Summary | |
(package private) void |
changeSecretSessionId(java.lang.String oldSessionId,
java.lang.String newSessionId)
|
(package private) Global |
getGlobal()
|
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 |
init(Global glob,
PluginInfo pluginInfo)
This method is called by the PluginManager (enforced by I_Plugin). |
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. |
void |
shutdown()
Cleans up the resource. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private Global glob
private static final java.lang.String ME
private static final java.lang.String TYPE
private static final java.lang.String VERSION
private java.util.Hashtable sessions
| Constructor Detail |
public Manager()
| Method Detail |
public void init(Global glob,
PluginInfo pluginInfo)
init in interface I_PluginI_Plugin.init(org.xmlBlaster.util.Global,org.xmlBlaster.util.plugin.PluginInfo)final Global getGlobal()
public final java.lang.String getType()
getType in interface I_Pluginpublic final java.lang.String getVersion()
getVersion in interface I_Plugin
public final I_Session reserveSession(java.lang.String sessionId)
throws XmlBlasterException
I_Managerorg.xmlBlaster.authentication.Authenticate.connect(...)
and login(...) calls this method to get a new I_Session
and bind it to the session.
reserveSession in interface I_ManagerXmlBlasterException
public final void releaseSession(java.lang.String sessionId,
java.lang.String qos_literal)
I_Manager
releaseSession in interface I_Manager
final void changeSecretSessionId(java.lang.String oldSessionId,
java.lang.String newSessionId)
throws XmlBlasterException
XmlBlasterExceptionpublic I_Session getSessionById(java.lang.String id)
getSessionById in interface I_Manager
public void shutdown()
throws XmlBlasterException
I_Plugin
shutdown in interface I_PluginXmlBlasterException - if an exception occurs. The exception is
handled by the RunLevelManager depending on how the plugin has been
configured with the action:
<action do='STOP' onShutdownRunlevel='2' sequence='5'
onFail='resource.configuration.pluginFailed'>
If onFail is defined to something, the RunLevelManager will stop.
|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||