Package org.springframework.ldap.core
Interface AuthenticatedLdapEntryContextCallback
- All Known Implementing Classes:
LookupAttemptingCallback
public interface AuthenticatedLdapEntryContextCallback
Callback interface to be used in the authentication methods in
LdapOperations
for performing operations on individually authenticated contexts.- Since:
- 1.3
-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeWithContext
(DirContext ctx, LdapEntryIdentification ldapEntryIdentification) Perform some LDAP operation on the supplied authenticatedDirContext
instance.
-
Method Details
-
executeWithContext
Perform some LDAP operation on the supplied authenticatedDirContext
instance. The target context will be automatically closed.- Parameters:
ctx
- theDirContext
instance to perform an operation on.ldapEntryIdentification
- the identification of the LDAP entry used to authenticate the suppliedDirContext
.
-