Class LdapGroupTester


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

      • LdapGroupTester

        public LdapGroupTester​(LdapManager manager)
    • Method Detail

      • 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.