@Override
    public void filterExternalObject(UserContext userContext,
            APIConnectionGroup object) throws GuacamoleException {

        // Filter object attributes by defined schema
        object.setAttributes(filterAttributes(
                userContext.getConnectionGroupAttributes(),
                object.getAttributes()));

    }
Translator which converts between ConnectionGroup objects and
APIConnectionGroup objects.
guacamole/src/main/java/org/apache/guacamole/rest/connectiongroup/ConnectionGroupObjectTranslator.java