public abstract class AbstractLdapConnection extends org.apache.mina.core.service.IoHandlerAdapter implements LdapConnection
Modifier and Type | Method and Description |
---|---|
void |
bind(Dn name)
Unauthenticated authentication bind on a server.
|
void |
bind(Dn name,
String credentials)
Simple bind on a server.
|
void |
bind(String name)
Unauthenticated authentication bind on a server.
|
void |
bind(String name,
String credentials)
Simple bind on a server.
|
event, exceptionCaught, inputClosed, messageReceived, messageSent, sessionClosed, sessionCreated, sessionIdle, sessionOpened
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abandon, abandon, add, add, anonymousBind, bind, bind, bind, close, compare, compare, compare, compare, compare, compare, compare, connect, delete, delete, delete, doesFutureExistFor, exists, exists, extended, extended, extended, extended, extended, getBinaryAttributeDetector, getCodecService, getRootDse, getRootDse, getSchemaManager, getSupportedControls, isAuthenticated, isConnected, isControlSupported, isRequestCompleted, loadSchema, loadSchemaRelaxed, lookup, lookup, lookup, lookup, lookup, lookup, modify, modify, modify, modify, modifyDn, move, move, moveAndRename, moveAndRename, moveAndRename, moveAndRename, rename, rename, rename, rename, search, search, search, setBinaryAttributeDetector, setSchemaManager, setTimeOut, unBind
public void bind(Dn name) throws LdapException
bind
in interface LdapConnection
name
- The name used to authenticate the user.LdapException
- if some error occurredpublic void bind(String name) throws LdapException
bind
in interface LdapConnection
name
- The name used to authenticate the user. It must be a
valid distinguished name.LdapException
- if some error occurredpublic void bind(String name, String credentials) throws LdapException
bind
in interface LdapConnection
name
- The name used to authenticate the user. It must be a
valid distinguished name.credentials
- The password, it can't be null
LdapException
- if some error occurredpublic void bind(Dn name, String credentials) throws LdapException
bind
in interface LdapConnection
name
- The name used to authenticate the user.credentials
- The password, it can't be nullLdapException
- if some error occurredCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.