|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.esupportail.cas.server.util.log.Debug
org.esupportail.cas.server.util.BasicHandler
org.esupportail.cas.server.util.RedundantHandler
org.esupportail.cas.server.handlers.ldap.LdapHandler
org.esupportail.cas.server.handlers.ldap.BindLdapHandler
public final class BindLdapHandler
This class implements a bind LDAP handler class. It is used by GenericHandler.
| Field Summary | |
|---|---|
private java.lang.String |
bindDn
the DN to bind to the LDAP directory. |
private java.lang.String |
bindPassword
the password to bind to the LDAP directory. |
private boolean |
multipleAccountsEnabled
A flag set to true if multiple accounts in the LDAP directory are allowed. |
private java.lang.String |
scope
the scope for LDAP searches. |
private java.lang.String |
searchBase
the base for LDAP searches. |
| Fields inherited from class org.esupportail.cas.server.util.BasicHandler |
|---|
FAILED_CONTINUE, FAILED_STOP, SUCCEEDED |
| Constructor Summary | |
|---|---|
BindLdapHandler(org.dom4j.Element handlerElement,
java.lang.Boolean configDebug)
Constructor. |
|
| Method Summary | |
|---|---|
protected boolean |
areMultipleAccountsEnabled()
Tell if multiple accounts in the LDAP directory are allowed. |
(package private) java.lang.String |
getBindDn()
Retrieve the DN to bind to the LDAP directory. |
(package private) java.lang.String |
getBindPassword()
Retrieve the password to bind to the LDAP directory. |
(package private) java.lang.String |
getScope()
Retrieve the scope for LDAP searches. |
(package private) java.lang.String |
getSearchBase()
Retrieve the base for LDAP searches. |
| Methods inherited from class org.esupportail.cas.server.handlers.ldap.LdapHandler |
|---|
getFilter |
| Methods inherited from class org.esupportail.cas.server.util.RedundantHandler |
|---|
addServers, authenticate, getServers |
| Methods inherited from class org.esupportail.cas.server.util.BasicHandler |
|---|
checkConfigElement, getConfigElement, getConfigSubElementContent, hasConfigSubElement |
| Methods inherited from class org.esupportail.cas.server.util.log.Debug |
|---|
checkClass, elementDebugValue, isDebug, setDebug, trace, trace, traceBegin, traceEnd, traceEnd, traceEnd, traceThrow |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String bindDn
private java.lang.String bindPassword
private boolean multipleAccountsEnabled
private java.lang.String scope
private java.lang.String searchBase
| Constructor Detail |
|---|
public BindLdapHandler(org.dom4j.Element handlerElement,
java.lang.Boolean configDebug)
throws java.lang.Exception
handlerElement - the XML element that declares the handler
in the configuration fileconfigDebug - debugging mode of the global configuration
java.lang.Exception - Exception| Method Detail |
|---|
protected boolean areMultipleAccountsEnabled()
java.lang.String getBindDn()
java.lang.String getBindPassword()
java.lang.String getScope()
java.lang.String getSearchBase()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||