Skip to content

fix: align session credential validation - #54

Merged
nkavian merged 1 commit into
aep-foundation:mainfrom
nkavian:fix/session-credential-values
Nov 10, 2026
Merged

nkavian merged 1 commit into
aep-foundation:mainfrom
nkavian:fix/session-credential-values

Conversation

@nkavian

@nkavian nkavian commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Align session credential handling with AEP specifications #58.

  • Preserve API-key values as complete HTTP header values, including Bearer and Basic presentations, while rejecting unsafe header characters.
  • Accept case-insensitive OAuth token types and empty Basic usernames, passwords, and realms.
  • Allow configured API-key handlers to verify those presentations and reject ambiguous credential matches.
  • Update documentation and regression tests for credential issuance, presentation, and revocation.

Validation

  • ./mvnw verify
  • ./scripts/verify-consumer.sh
  • ./scripts/run-conformance.sh
  • ./scripts/verify-gradle-consumer.sh
  • ./mvnw --batch-mode --no-transfer-progress -pl aep-spring-webmvc -am -Pspring7 verify

@nkavian
nkavian merged commit 90dbd88 into aep-foundation:main Nov 10, 2026
4 checks passed
@nkavian
nkavian deleted the fix/session-credential-values branch November 10, 2026 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant