@Override
    public AuthorizationResult evaluate(final AuthorizationRequest request, final AuthorizableResource resource) {
        val authorized = resource.isEnforceAllPolicies() ? enforceAllPolicies(request, resource) : enforceAnyPolicy(request, resource);
        return authorized ? AuthorizationResult.granted("OK") : AuthorizationResult.denied("Denied");
    }
This is {@link DefaultResourceAuthorizer}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-heimdall/src/main/java/org/apereo/cas/heimdall/authorizer/DefaultResourceAuthorizer.java