Package org.ldaptive
Class BindOperation
- java.lang.Object
-
- org.ldaptive.AbstractOperation<BindRequest,Void>
-
- org.ldaptive.BindOperation
-
- All Implemented Interfaces:
Operation<BindRequest,Void>
public class BindOperation extends AbstractOperation<BindRequest,Void>
Executes an ldap bind operation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ldaptive.AbstractOperation
AbstractOperation.ReopenOperationExceptionHandler
-
-
Field Summary
-
Fields inherited from class org.ldaptive.AbstractOperation
logger
-
-
Constructor Summary
Constructors Constructor Description BindOperation(Connection conn)
Creates a new bind operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Response<Void>
invoke(BindRequest request)
Call the provider specific implementation of this ldap operation.-
Methods inherited from class org.ldaptive.AbstractOperation
execute, executeHandlers, getConnection, getOperationExceptionHandler, getOperationResponseHandlers, setOperationExceptionHandler, setOperationResponseHandlers, toString
-
-
-
-
Constructor Detail
-
BindOperation
public BindOperation(Connection conn)
Creates a new bind operation.- Parameters:
conn
- connection
-
-
Method Detail
-
invoke
protected Response<Void> invoke(BindRequest request) throws LdapException
Description copied from class:AbstractOperation
Call the provider specific implementation of this ldap operation.- Specified by:
invoke
in classAbstractOperation<BindRequest,Void>
- Parameters:
request
- ldap request- Returns:
- ldap response
- Throws:
LdapException
- if the invocation fails
-
-