GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||
GeezerVison is showing github.com — Credential scoping + relocation validation (3.9.x backport) by gnodet · Pull Request #13005 · apache/maven Conversation
Contributor
SummaryBackport of Fix Set B (credential scoping + relocation validation + server ID matching) to maven-3.9.x.
Sibling PRs:
Note: Test plan
🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsCredentials configured in settings for a server id are keyed only by that id. A repository definition can also arrive from a POM resolved out of a remote repository and reuse the id of a server the operator holds credentials for, at a different origin than the one the operator configured. Wrap the authentication selector so credentials for an id are offered only to a repository whose origin (scheme, host, port) matches a repository or mirror the operator declared, in settings or on the command line, with that same id; other origins get a once-per-id/origin warning naming the id and are refused. Ids with no operator-declared repository (for example a deploy-only server whose URL comes from the project's distributionManagement) keep serving credentials as before, with a warning, so mvn deploy using settings credentials plus a POM's distributionManagement keeps working. The new maven.repository.credentialScope user property selects the policy: "origin" (default), "strict" (also refuse undeclared ids), or legacy "id". Aligns the legacy WagonManager credential lookup with the exact-match semantics used by every other id-keyed credential path; server ids have never been documented as case-insensitive.
gnodet
force-pushed
the
pr/core-and-compat-3.9.x
branch
from
0b7153b to
fc899f9
Compare
Remove unused imports left by rebase. Co-Authored-By: Claude Opus 4.6 <[email protected]>
gnodet
commented
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well-adapted backport of credential scoping and server ID exact matching to 3.9.x. The One finding:
Positive notes:
📋 PR Metadata
🤖 This review was generated by ForgeBot.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Maven 3.9.10 was already released and does not contain this constant. The sibling PR #12954 correctly uses
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesLabels
None yet
ProjectsDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | ||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |