private List<String> mapToRequestPrivileges(List<AthenzRole> roles) {
        return roles.stream()
                .map(this::rolePrivilege)
                .filter(Objects::nonNull)
                .toList();
    }
An Athenz security filter that uses a configured action and resource name to control access.

@author bjorncs
jdisc-security-filters/src/main/java/com/yahoo/jdisc/http/filter/security/athenz/AthenzAuthorizationFilter.java