Class UnionizingLdapSearch

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

    public class UnionizingLdapSearch
    extends Object
    implements LdapSearch, org.springframework.beans.factory.InitializingBean
    Iterates over LdapSearch instances in searches and unions the results. Use in conjunction with UnionizingLdapAuthoritiesPopulator.
    Author:
    mlowery
    • Constructor Detail

      • UnionizingLdapSearch

        public UnionizingLdapSearch()
      • UnionizingLdapSearch

        public UnionizingLdapSearch​(Set searches)
    • 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
      • setSearches

        public void setSearches​(Set searches)
      • afterPropertiesSet

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