Class GenericLdapSearch

  • All Implemented Interfaces:
    LdapSearch, org.springframework.beans.factory.InitializingBean

    public class GenericLdapSearch
    extends Object
    implements LdapSearch, org.springframework.beans.factory.InitializingBean
    • Constructor Detail

      • GenericLdapSearch

        public GenericLdapSearch​(org.springframework.ldap.core.ContextSource contextSource,
                                 LdapSearchParamsFactory paramsFactory)
      • GenericLdapSearch

        public GenericLdapSearch​(org.springframework.ldap.core.ContextSource contextSource,
                                 LdapSearchParamsFactory paramsFactory,
                                 org.apache.commons.collections.Transformer resultsTransformer)
      • GenericLdapSearch

        public GenericLdapSearch​(org.springframework.ldap.core.ContextSource contextSource,
                                 LdapSearchParamsFactory paramsFactory,
                                 org.apache.commons.collections.Transformer resultsTransformer,
                                 org.apache.commons.collections.Transformer filterArgsTransformer)
    • Method Detail

      • search

        public List search​(Object[] filterArgs)
        Description copied from interface: LdapSearch
        Executes a search against a directory context using the given filter arguments.
        Specified by:
        search in interface LdapSearch
        Parameters:
        filterArgs - the filter arguments
        Returns:
        the result set as a list
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception