Skip to content

context: suppress inhibited keys in logs - #754

Merged
ar merged 1 commit into
mainfrom
security/inhibit-context-log-keys
Aug 22, 2026
Merged

context: suppress inhibited keys in logs#754
ar merged 1 commit into
mainfrom
security/inhibit-context-log-keys

Conversation

@ar-agt

@ar-agt ar-agt commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator

Adds org.jpos.util.Inhibit, a marker for Context keys whose values must not be rendered.

Context now excludes inhibited keys from trace checkpoints, XML/text dumps, and structured audit events while preserving normal programmatic access.

Tests:

  • ./gradlew :jpos:test --tests org.jpos.transaction.ContextTest

@ar
ar merged commit 3ff2951 into main Aug 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants