Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 2 commits into from

Conversation

dfuch
Copy link
Member

@dfuch dfuch commented Mar 27, 2023

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.


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

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

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/13189/head:pull/13189
$ git checkout pull/13189

Update a local copy of the PR:
$ git checkout pull/13189
$ git pull https://git.openjdk.org/jdk.git pull/13189/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 13189

View PR using the GUI difftool:
$ git pr show -t 13189

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/13189.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Mar 27, 2023

👋 Welcome back dfuchs! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot changed the title 8304927 8304927: Update java/net/httpclient/BasicAuthTest.java to check basic auth over HTTP/2 Mar 27, 2023
@openjdk openjdk bot added the rfr Pull request is ready for review label Mar 27, 2023
@openjdk
Copy link

openjdk bot commented Mar 27, 2023

@dfuch The following label will be automatically applied to this pull request:

  • net

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added the net net-dev@openjdk.org label Mar 27, 2023
@mlbridge
Copy link

mlbridge bot commented Mar 27, 2023

Webrevs

Copy link
Member

@jaikiran jaikiran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@openjdk
Copy link

openjdk bot commented Mar 28, 2023

@dfuch This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

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

Reviewed-by: jpai

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 35 new commits pushed to the master branch:

  • c1f5ca1: 8303623: Compiler should disallow non-standard UTF-8 string encodings
  • 695683b: 8304880: [PPC64] VerifyOops code in C1 doesn't work with ZGC
  • 83ce65e: 8305004: add @SPEC tags to langtools modules
  • 32ef452: 8304884: Update Bytecodes data to be mostly compile time constants
  • 927e674: 8300977: Retire java.io.ExpiringCache
  • c90699e: 8304989: unnecessary dash in @param gives double-dash in docs
  • 395a4ce: 8304591: (fs) UnixPath.stringValue need not be volatile
  • 60640a2: 8300979: Lazily initialize (byte, char)arr in java.io.DataInputStream
  • cddaf68: 8304962: sun/net/www/http/KeepAliveCache/B5045306.java: java.lang.RuntimeException: Failed: Initial Keep Alive Connection is not being reused
  • a06f461: 8303214: Typo in java.util.Collections#synchronizedNavigableMap javadoc
  • ... and 25 more: https://git.openjdk.org/jdk/compare/38e17148faef7799515478bd834ed2fa1a5153de...master

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Mar 28, 2023
@dfuch
Copy link
Member Author

dfuch commented Mar 28, 2023

/integrate

@openjdk
Copy link

openjdk bot commented Mar 28, 2023

Going to push as commit 50a995f.
Since your change was applied there have been 39 commits pushed to the master branch:

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Mar 28, 2023
@openjdk openjdk bot closed this Mar 28, 2023
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Mar 28, 2023
@openjdk
Copy link

openjdk bot commented Mar 28, 2023

@dfuch Pushed as commit 50a995f.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrated Pull request has been integrated net net-dev@openjdk.org
Development

Successfully merging this pull request may close these issues.

2 participants