Repository navigation
feat(auth): support center TLS and account-authenticated PSOP loading - #91
Merged
Merged
Conversation
Protect request and response boundaries, support dynamic Bearer and custom headers, preserve explicit TLS contracts, and prevent malformed successful responses from exposing credentials. Refs project-openan#90 Signed-off-by: Zhoujie628 <zhoujie628@users.noreply.github.com>
Fail closed on center errors, require explicit local workflow mode, inject independent center authentication and TLS, and cover response safety in the running Spring host. Refs project-openan#90 Signed-off-by: Zhoujie628 <zhoujie628@users.noreply.github.com>
Signed-off-by: Zhoujie628 <zhoujie628@users.noreply.github.com>
Signed-off-by: Zhoujie628 <zhoujie628@users.noreply.github.com>
Signed-off-by: Zhoujie628 <zhoujie628@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #90
Summary
/api/v1/auth/token, cache it until expiry, and renew it by logging in again.Validation
mvn -B -ntp clean verify: 437 tests, zero failures/errors/skips, including direct Spring end-to-end and authentication failure paths.mvn -B -ntp clean verify: 538 tests, zero failures/errors/skips, including direct and adapter protocol-simulator end-to-end paths.Public common changes are submitted to main. The same commit is cherry-picked to the personal fork's dev branch, preserving its existing adapter-only differences; upstream has no dev branch.
For maintainer review; do not auto-merge.
Follow-up: current documentation and deployment contracts
Validation: main
mvn spotless:check verify -DskipITspassed (437 tests, zero failures/errors); dev passed independently (538 tests). The subsequent SSE media-type correction passed the targeted documentation compilation test and Spotless on both branches. Main follow-ups were cherry-picked to the personal dev branch. This follow-up changes documentation and documentation tests, not the public authentication API.