@Override
    public Collection<Form> getUserAttributes() {

        try {

            // Expose the user attributes IFF user-level KSM configuration is enabled
            return configurationService.getAllowUserConfig() ? KSM_ATTRIBUTES : Collections.emptyList();

        }

        catch (GuacamoleException e) {

            logger.warn(
                    "Unable to determine if KSM user attributes "
                    + "should be exposed due to config parsing error: {}.", e.getMessage());
            logger.debug(
                    "Config parsing error prevented checking user attribute configuration",
                    e);

            // If the configuration can't be parsed, default to not exposing the attributes
            return Collections.emptyList();
        }

    }
All KSM-specific attributes for connections, organized by form.
extensions/guacamole-vault/modules/guacamole-vault-ksm/src/main/java/org/apache/guacamole/vault/ksm/conf/KsmAttributeService.java