Class LdapGroupTester

java.lang.Object
org.jivesoftware.admin.LdapGroupTester

public class LdapGroupTester extends Object
Class that assists during the testing of the ldap groups.
Author:
Gaston Dombiak
  • Constructor Details

    • LdapGroupTester

      public LdapGroupTester(LdapManager manager)
  • Method Details

    • getGroups

      public Collection<LdapGroupTester.Group> getGroups(int maxGroups)
      Returns fist N groups found in LDAP. The returned groups are only able to return their name, description and count of members. Count of members is considering all values that were found in the member field.
      Parameters:
      maxGroups - max number of groups to return.
      Returns:
      fist N groups found in the LDAP.