Package org.jivesoftware.admin
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LdapGroupTester.Group
Representation of a group found in LDAP.
-
Constructor Summary
Constructors Constructor Description LdapGroupTester(LdapManager manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<LdapGroupTester.Group>
getGroups(int maxGroups)
Returns fist N groups found in LDAP.
-
-
-
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.
-
-