@ Override public Set < Node > findGroups ( final String cn ) { QueryBuilder qb = new LdapQueryBuilder ( ) ; if ( "*" . equals ( cn ) ) { qb . append ( LdapKeys . OBJECT_CLASS , groupObjectClass ) ; } else { qb . append ( LdapKeys . OBJECT_CLASS , groupObjectClass ) ; qb . append ( groupIdentifyer , cn + "*" ) ; } return findGroups ( qb ) ; }
Returns several LDAP - Groups for a given search - String .