private static void convertFromGroupEntity(final JsonNode group,
                                               final List<Object> attributes) {
        val groupAttrs = new HashMap<String, String>();
        groupAttrs.put("groupName", group.get("name").asText());
        group.get("plainAttrs").forEach(attr -> groupAttrs.put(attr.get("schema").asText(), attr.get("values").toString()));
        attributes.add(groupAttrs);
    }
Syncope user groups search.

@param properties the properties
@param user       the user
@return the list
support/cas-server-support-syncope-authentication/src/main/java/org/apereo/cas/syncope/SyncopeUtils.java