private String rolePrivilege(AthenzRole role) {
        if (readRole.stream().anyMatch(role::equals)) return "read";
        if (writeRole.stream().anyMatch(role::equals)) return "write";
        return null;
    }
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