code: @Override
      public Node getGroup(final String cn) {
          try {
              String query = "(&(objectClass=" + groupObjectClass + ")(" + groupIdentifyer + "=" + cn + "))";
              SearchResult searchResult;
              Attributes attributes;
              SearchControls controls = new SearchControls();
              controls.setReturningAttributes(new String[]{LdapKeys.ASTERISK, LdapKeys.MODIFY_TIMESTAMP, LdapKeys.MODIFIERS_NAME, LdapKeys.ENTRY_UUID});
              controls.setSearchScope(SearchControls.SUBTREE_SCOPE);
              NamingEnumeration<SearchResult> results = ctx.search("", query, controls);
              queryCount++;
              if (results.hasMore()) {
                  LdapGroup group = new LdapGroup(cn, this);
              	searchResult = results.next();
                  group.setDn(searchResult.getNameInNamespace());
                  attributes = searchResult.getAttributes();
                  group = fillAttributesInGroup((LdapGroup) group, attributes);
                  return group;
              }
          } catch (NamingException ex) {
              handleNamingException(instanceName + ":" + cn, ex);
          }
         return new LdapGroup();
      }
docs: Returns a LDAP-Group.
  
  @param cn the cn of that Group.
  @see com.innoq.liqid.model.Node#getName()
  @return the Node of that Group, either filled (if Group was found), or empty.