Spring LDAP

org.springframework.ldap.core
Interface DirContextProcessor

All Known Implementing Classes:
AbstractFallbackRequestAndResponseControlDirContextProcessor, AbstractRequestControlDirContextProcessor, AggregateDirContextProcessor, LdapTemplate.NullDirContextProcessor, PagedResultsDirContextProcessor, PagedResultsRequestControl, SortControlDirContextProcessor

public interface DirContextProcessor

Interface to be called in search by LdapTemplate before and after the actual search and enumeration traversal. Implementations may be used to apply search controls on the Context and retrieve the results of such controls afterwards.

Author:
Mattias Hellborg Arthursson, Ulrik Sandberg

Method Summary
 void postProcess(DirContext ctx)
          Perform post-processing on the supplied DirContext.
 void preProcess(DirContext ctx)
          Perform pre-processing on the supplied DirContext.
 

Method Detail

preProcess

void preProcess(DirContext ctx)
                throws NamingException
Perform pre-processing on the supplied DirContext.

Parameters:
ctx - the DirContext instance.
Throws:
NamingException - if thrown by the underlying operation.

postProcess

void postProcess(DirContext ctx)
                 throws NamingException
Perform post-processing on the supplied DirContext.

Parameters:
ctx - the DirContext instance.
Throws:
NamingException - if thrown by the underlying operation.

Spring LDAP