public static void putRegisteredService(final RequestContext context, final RegisteredService registeredService) {
        context.getFlowScope().put(CasWebflowConstants.ATTRIBUTE_REGISTERED_SERVICE, registeredService);
    }
Put registered service into flowscope.

@param context           the context
@param registeredService the service
core/cas-server-core-web-api/src/main/java/org/apereo/cas/web/support/WebUtils.java