|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LDAPManager
Defines an interface for developing a LDAP access manager.
Implementations of this interface will provide the following services:
DirContext
instances.LDAPWorker
instances.MapBuilder
instances.AttributesBuilder
instances.
Method Summary | |
---|---|
void |
destroy()
Destroy this manager. |
AttributesBuilder |
getAttributesBuilder()
Return the AttributesBuilder instance configured for this manager. |
javax.naming.directory.DirContext |
getDirContext()
Return a DirContext instance. |
LDAPWorker |
getLDAPWorker()
Return the LDAPWorker instance configured for this manager. |
MapBuilder |
getMapBuilder()
Return the MapBuilder instance configured for this manager. |
void |
init(java.lang.String name,
XMLProperties xmlProps)
Initialise this manager with the given name and XML configuration properties. |
void |
releaseDirContext(javax.naming.directory.DirContext ctx)
Dispose of the given DirContext. |
Method Detail |
---|
void init(java.lang.String name, XMLProperties xmlProps) throws LDAPException
name
- The name of this manager.xmlProps
- XMLProperites instance containing manager configuration.
LDAPException
- if the manager cannot be initialised.javax.naming.directory.DirContext getDirContext() throws LDAPException
LDAPException
- if a DirContext instance cannot be returned.void releaseDirContext(javax.naming.directory.DirContext ctx) throws LDAPException
ctx
- DirContext instance to dispose of.
LDAPException
- if the DirContext cannot be disposed of.LDAPWorker getLDAPWorker()
MapBuilder getMapBuilder()
AttributesBuilder getAttributesBuilder()
void destroy() throws LDAPException
LDAPException
- if this manager cannot be destroyed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |