public Group getGroup(String groupName) throws RemoteException {
        LOG.debug("Get group:" + groupName + " from crowd");

        final HttpUriRequest getRequest = RequestBuilder.get(crowdServer.resolve("group?groupname=" + urlEncode(groupName)))
            .setConfig(requestConfig)
            .addHeader(HEADER_ACCEPT_APPLICATION_XML)
            .addHeader(HEADER_ACCEPT_CHARSET_UTF8)
            .build();

        Group group = null;
        try (final CloseableHttpResponse response = client.execute(getRequest, clientContext)) {
            if (response.getStatusLine().getStatusCode() != HttpStatus.SC_OK) {
                handleHTTPError(response);
            }
            group = JAXB.unmarshal(response.getEntity().getContent(), Group.class);
            
        } catch (IOException ioe) {
            handleError(ioe);
        }
        return group;
    }
Get the description of a group from crowd
@param groupName the name of the group
@return a Group object
@throws RemoteException if an exception occurred communicating with the crowd server
xmppserver/src/main/java/org/jivesoftware/openfire/crowd/CrowdManager.java