private void forwardHeaders(ApiRequest request, JWTPolicyBean config, String rawToken, Map<String, Object> claims) {
        for (ForwardAuthInfo entry : config.getForwardAuthInfo()) {
            // Add the header if we've been able to look it up, else it'll just be empty.
            Object claimValue = ACCESS_TOKEN_QUERY_KEY.equals(entry.getField()) ? rawToken : claims.get(entry.getField());
            if (claimValue != null) {
                request.getHeaders().put(entry.getHeader(), Objects.nullSafeToString(claimValue));
            }
        }
    }
Generic JWT/S Policy.

@author Marc Savy {@literal <msavy@redhat.com>}
plugins/jwt-policy/src/main/java/io/apiman/plugins/jwt/JWTPolicy.java