Spring LDAP

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 in LdapOperations for performing operations on individually authenticated contexts.

Since:
2.0
Author:
Mattias Hellborg Arthursson

Method Summary
 T mapWithContext(DirContext ctx, LdapEntryIdentification ldapEntryIdentification)
          Perform some LDAP operation on the supplied authenticated DirContext instance.
 

Method Detail

mapWithContext

T mapWithContext(DirContext ctx,
                 LdapEntryIdentification ldapEntryIdentification)
Perform some LDAP operation on the supplied authenticated DirContext instance. The target context will be automatically closed.

Parameters:
ctx - the DirContext instance to perform an operation on.
ldapEntryIdentification - the identification of the LDAP entry used to authenticate the supplied DirContext.
Returns:
the result of the operation, if any.

Spring LDAP