public static HttpServletRequest getHttpServletRequestFromExternalWebflowContext(final RequestContext context) {
        return (HttpServletRequest) context.getExternalContext().getNativeRequest();
    }
Gets the http servlet request from the context.

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