@Test
    @Configuration("{\n" +
            "  \"requireJWT\": true,\n" +
            "  \"requireSigned\": true,\n" +
            "  \"requireTransportSecurity\": true,\n" +
            "  \"stripTokens\": true,\n" +
            "  \"signingKeyString\": \""+ PUBLIC_KEY_PEM +"\",\n" +
            "  \"allowedClockSkew\": 0,\n" +
            "  \"requiredClaims\": [{ \"claimName\": \"sub\", \"claimValue\": \"france frichot\" }]\n" +
            "}"
    )
    public void signedValidTokenStripAuth() throws Throwable {
        PolicyTestRequest request = PolicyTestRequest.build(PolicyTestRequestType.GET, "/amirante")
                .header(AUTHORIZATION, "Bearer " + signedToken(PRIVATE_KEY_PEM));

        PolicyTestResponse response = send(request);
        EchoResponse echo = response.entity(EchoResponse.class);
        Assert.assertNotNull(echo);
        Assert.assertNull(echo.getHeaders().get(AUTHORIZATION));
    }
@author Marc Savy {@literal <msavy@redhat.com>}
plugins/jwt-policy/src/test/java/io/apiman/plugins/jwt/JWTPolicyTest.java