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

fix: add expiry check to DataPlaneTokenRefreshServiceImpl #1124

Conversation

paullatzelsperger
Copy link
Contributor

WHAT

This PR adds a check for token expiry to the DataPlaneTokenRefreshService to reject resolving expired access tokens.

WHY

the resolve() method is called during authorization of a HTTP pull request against the dataplane, so in Tractus-X EDC it needs to reject expired access tokens.

FURTHER NOTES

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Closes # <-- insert Issue number if one exists

Copy link

sonarcloud bot commented Mar 12, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
1.0% Duplication on New Code

See analysis details on SonarCloud

@paullatzelsperger paullatzelsperger mentioned this pull request Mar 12, 2024
8 tasks
@paullatzelsperger paullatzelsperger changed the title feat: add expiry check to DataPlaneTokenRefreshServiceImpl fix: add expiry check to DataPlaneTokenRefreshServiceImpl Mar 12, 2024
@paullatzelsperger paullatzelsperger merged commit bd6f22d into eclipse-tractusx:main Mar 12, 2024
25 checks passed
@paullatzelsperger paullatzelsperger deleted the feat/add_expiry_check branch March 13, 2024 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

2 participants