Integrated: 8304927: Update java/net/httpclient/BasicAuthTest.java to check basic auth over HTTP/2

Daniel Fuchs dfuchs at openjdk.org
Tue Mar 28 19:01:43 UTC 2023


On Mon, 27 Mar 2023 09:51:54 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> The BasicAuthTest only tests basic authentication with clear HTTP/1.1. 
> This changes upgrades it to also test against TLS,  as well as HTTP/2.
> The bulk of the fix is to move the implementation of a HttpBasicAuthFilter from DigestEchoServer.java to HttpServerAdapters. This makes it possible to enable basic auth in the HTTP/2 test server.

This pull request has now been integrated.

Changeset: 50a995f0
Author:    Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/50a995f03a0cc5c342929a0f48c43fd04fdf0b0d
Stats:     411 lines in 3 files changed: 220 ins; 145 del; 46 mod

8304927: Update java/net/httpclient/BasicAuthTest.java to check basic auth over HTTP/2

Reviewed-by: jpai

-------------

PR: https://git.openjdk.org/jdk/pull/13189


More information about the net-dev mailing list