Interface LdapOperationsCallback<T>


public interface LdapOperationsCallback<T>
Callback interface to be used together with SingleContextSource.
Since:
2.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Perform a sequence of LDAP operations on the supplied LdapOperations instance.
  • Method Details

    • doWithLdapOperations

      T doWithLdapOperations(LdapOperations operations)
      Perform a sequence of LDAP operations on the supplied LdapOperations instance. The underlying DirContext that the operations will work on is guaranteed to always be exact same instance during the lifetime of this method.
      Parameters:
      operations - the LdapOperations instance to perform operations on.
      Returns:
      The aggregated result of all the performed operations.