public static void putPasswordPolicyPattern(final RequestContext requestContext, final String policyPattern) {
        val flowScope = requestContext.getFlowScope();
        flowScope.put("passwordPolicyPattern", policyPattern);
    }
Put password reset password policy pattern string.

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