private List<AuthorizableResource> findResources(final AuthorizationRequest request) {
        if (StringUtils.isBlank(request.getNamespace())) {
            return repository.find(request.getResource().getId());
        }
        val resource = repository.find(request);
        return resource.map(List::of).orElseGet(List::of);
    }
This is {@link DefaultAuthorizationEngine}.

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