01: package org.esupportail.cas.server.handlers.ldap;
02:
03: import org.dom4j.Element;
04:
05: /**
06: * This class implements a fastbind LDAP handler class. It is used by
07: * GenericHandler.
08: *
09: * @author Pascal Aubry <pascal.aubry at univ-rennes1.fr>
10: */
11: public final class FastBindLdapHandler extends LdapHandler {
12:
13: /**
14: * Constructor.
15: *
16: * @param handlerElement the XML element that declares the handler
17: * in the configuration file
18: * @param configDebug debugging mode of the global configuration
19: * @throws Exception Exception
20: */
21: public FastBindLdapHandler(final Element handlerElement,
22: final Boolean configDebug) throws Exception {
23: super (handlerElement, configDebug);
24: traceBegin();
25:
26: // add the ldap servers
27: addServers(true/*serverElementNeeded*/, getClass()
28: .getPackage().getName()
29: + ".FastBindLdapServer");
30:
31: traceEnd();
32: }
33:
34: }
|