public static void putServiceUserInterfaceMetadata(final RequestContext requestContext, final Serializable mdui) {
        if (mdui != null) {
            requestContext.getFlowScope().put(PARAMETER_SERVICE_UI_METADATA, mdui);
        }
    }
Sets service user interface metadata.

@param requestContext the request context
@param mdui           the mdui
core/cas-server-core-web-api/src/main/java/org/apereo/cas/web/support/WebUtils.java