public static void putRegisteredService(final HttpServletRequest request, final RegisteredService registeredService) {
        request.setAttribute(CasWebflowConstants.ATTRIBUTE_REGISTERED_SERVICE, registeredService);
    }
Put registered service.

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