Package org.springframework.ldap.core
Interface AuthenticatedLdapEntryContextMapper<T>
-
- All Known Implementing Classes:
LookupAttemptingCallback
public interface AuthenticatedLdapEntryContextMapper<T>
Callback interface to be used in the authentication methods inLdapOperations
for performing operations on individually authenticated contexts.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
mapWithContext(javax.naming.directory.DirContext ctx, LdapEntryIdentification ldapEntryIdentification)
Perform some LDAP operation on the supplied authenticatedDirContext
instance.
-
-
-
Method Detail
-
mapWithContext
T mapWithContext(javax.naming.directory.DirContext ctx, LdapEntryIdentification ldapEntryIdentification)
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
.- Returns:
- the result of the operation, if any.
-
-