public Optional<String> getRequestParameterOrAttribute(final RequestContext requestContext, final String name) {
        val httpServletRequest = WebUtils.getHttpServletRequestFromExternalWebflowContext(requestContext);
        return getRequestParameterOrAttribute(httpServletRequest, name);
    }
Gets request parameter or attribute.

@param requestContext the request context
@param name           the name
@return the request parameter or attribute
core/cas-server-core-web-api/src/main/java/org/apereo/cas/web/support/WebUtils.java