001 package org.esupportail.cas.server.handlers.ldap;
002
003 import org.dom4j.Element;
004
005 /**
006 * This class implements a fastbind LDAP handler class. It is used by
007 * GenericHandler.
008 *
009 * @author Pascal Aubry <pascal.aubry at univ-rennes1.fr>
010 */
011 public final class FastBindLdapHandler extends LdapHandler {
012
013 /**
014 * Constructor.
015 *
016 * @param handlerElement the XML element that declares the handler
017 * in the configuration file
018 * @param configDebug debugging mode of the global configuration
019 * @throws Exception Exception
020 */
021 public FastBindLdapHandler(
022 final Element handlerElement,
023 final Boolean configDebug) throws Exception {
024 super(handlerElement, configDebug);
025 traceBegin();
026
027 // add the ldap servers
028 addServers(true/*serverElementNeeded*/, getClass().getPackage().getName() + ".FastBindLdapServer");
029
030 traceEnd();
031 }
032
033 }
034