static String getGrouperGroupAttribute(final GrouperGroupField groupField, final WsGroup group) {
        return switch (groupField) {
            case DISPLAY_EXTENSION -> group.getDisplayExtension();
            case DISPLAY_NAME -> group.getDisplayName();
            case EXTENSION -> group.getExtension();
            case NAME -> group.getName();
        };
    }
Construct grouper group attribute.
This is the name of every individual group attribute
transformed into a CAS attribute value.

@param groupField the group field
@param group      the group
@return the final attribute name
support/cas-server-support-grouper-core/src/main/java/org/apereo/cas/grouper/GrouperFacade.java