public class LookupAttemptingCallback extends java.lang.Object implements AuthenticatedLdapEntryContextCallback
Constructor and Description |
---|
LookupAttemptingCallback() |
Modifier and Type | Method and Description |
---|---|
void |
executeWithContext(javax.naming.directory.DirContext ctx,
LdapEntryIdentification ldapEntryIdentification)
Perform some LDAP operation on the supplied authenticated
DirContext instance. |
public void executeWithContext(javax.naming.directory.DirContext ctx, LdapEntryIdentification ldapEntryIdentification)
AuthenticatedLdapEntryContextCallback
DirContext
instance. The target context will be
automatically closed.executeWithContext
in interface AuthenticatedLdapEntryContextCallback
ctx
- the DirContext
instance to perform an operation
on.ldapEntryIdentification
- the identification of the LDAP entry used
to authenticate the supplied DirContext
.