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

feat: Add rawToken Field to Visa with temp Security Measures #315

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

yasinmiran
Copy link
Contributor

This PR introduces the rawToken field to the Visa POJO to facilitate delegation of tasks by APIs above the Clearing House to external services (such as SDA and DOA). To mitigate security risk associated with this sensitive field:

The rawToken field has been marked as transient to prevent unintended serialization. @ToString.Exclude is used to ensure it is not exposed in logs or debug outputs.

Notes:
The addition of rawToken is a temporary solution. We need to explore alternative designs to eliminate this field from the POJO entirely while maintaining functionality for task delegation. This PR provides an immediate workaround to secure sensitive data until a long-term solution is implemented.

This PR introduces the rawToken field to the Visa POJO to facilitate
delegation of tasks by APIs above the Clearing House to external
services (such as SDA and DOA). To mitigate security risk
associated with this sensitive field:

The rawToken field has been marked as transient to prevent unintended serialization.
@ToString.Exclude is used to ensure it is not exposed in logs or debug outputs.

Notes:
The addition of rawToken is a temporary solution. We need to explore
alternative designs to eliminate this field from the POJO entirely while
maintaining functionality for task delegation. This PR provides an immediate
workaround to secure sensitive data until a long-term solution is implemented.
@kjellp kjellp merged commit 9e41b91 into main Nov 26, 2024
2 checks passed
@kjellp kjellp deleted the fix/add-raw-visa-string branch November 26, 2024 10:54
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.

3 participants