protected boolean isValidAuthorizeRequest(final JEEContext context) {
        val validator = oauthAuthorizationRequestValidators.getObject()
            .stream()
            .filter(BeanSupplier::isNotProxy)
            .filter(Unchecked.predicate(b -> b.supports(context)))
            .findFirst()
            .orElse(null);
        return FunctionUtils.doUnchecked(() -> validator != null && validator.validate(context));
    }
Does uri match pattern.

@param requestPath the request path
@param patternUrls the pattern urls
@return true /false
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/web/OAuth20HandlerInterceptorAdapter.java