-
Notifications
You must be signed in to change notification settings - Fork 6
Reanimate project and prepare for 2.0.0 #6
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR modernizes the OAuth2 Token Endpoint Client library by upgrading to JDK 17 and updating all dependencies to their latest versions. The changes include replacing deprecated APIs, removing external dependencies in favor of JDK features, and migrating the build system to GitHub Actions with Maven Central publishing.
- Upgrade to JDK 17 and update all dependencies to latest versions
- Replace HttpURLConnection with JDK 11+ HttpClient for better performance and maintainability
- Replace ExpiringMap dependency with built-in ConcurrentHashMap implementation
Reviewed Changes
Copilot reviewed 24 out of 24 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
pom.xml | Updated dependencies, JDK version, and publishing configuration |
TokenEndpointHttpClient.java | Replaced HttpURLConnection with modern HttpClient |
InMemoryTokenCache.java | Replaced ExpiringMap with ConcurrentHashMap-based implementation |
ClientAssertionJwtFactory.java | Updated to newer JJWT API methods |
CertificateUtil.java | Replaced deprecated Base64 encoder with JDK standard |
DigestUtil.java | Simplified using StandardCharsets and HexFormat |
Multiple test files | Updated MockServer API usage and removed deprecated annotations |
This PR adds the following changes:
expiringmap
is now replaced withConcurrentMap
Co-authored with Claude and Copilot 😄