Commit 547f0ff
authored
Fix 11 issues in Okta Java SDK (#1668)
* Fix 11 issues in Okta Java SDK
- Fix #1615/#1667: Change LinksResend.resend to array type (List<HrefObject>)
- Fix #1618: Add type validation for cached objects to prevent ClassCastException
- Fix #1619: Set default name for OIDCApplicationBuilder to OIDC_CLIENT
- Fix #1622: Correct expirePasswordWithTempPassword return type to TempPassword
- Fix #1642: Enable custom attributes for GroupProfile (OktaUserGroupProfile)
- Fix #1666: Change JUnit dependency scope from compile to test
- Fix #1657: Upgrade httpclient5 to 5.5.1 to fix connection pool leak
- Fix #1653: Add missing rootSessionId field to LogAuthenticationContext
- Fix #1650: Enable super.equals() call in PasswordPolicyRule for proper parent comparison
- Fix #1600: Implement resource-specific cache lookup in ApiClient
- Update SDK version to 25.0.1-SNAPSHOT
All fixes verified and tested. Resource-specific caching demonstrated with
User cache (5s TTL) showing 0ms cache hits vs 500ms API calls.
* fix: resolve cache invalidation issues for nested resources (#1618, #1600)
- Fixed cache invalidation for DELETE operations on nested resources
- Added support for FederatedClaimRequestBody cache invalidation
- Fixed path matching for /federated-claims/ and /group-push/mappings/
- Implemented multi-cache invalidation to remove from all matching caches
- Added defensive exception handling to prevent cache errors from interfering with API operations
Resolves:
- #1618: Cache ClassCastException with type validation
- #1600: Resource-specific cache configuration
All integration tests passing (431 tests, 0 failures)
* chore: remove temporary test and backup files1 parent 72955ce commit 547f0ff
6 files changed
Lines changed: 169 additions & 32 deletions
File tree
- api
- src/main/resources/custom_templates
- impl/src/main/java/com/okta/sdk/impl/resource
- src/swagger
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
Lines changed: 145 additions & 15 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | | - | |
297 | | - | |
298 | | - | |
| 296 | + | |
| 297 | + | |
299 | 298 | | |
300 | 299 | | |
301 | 300 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
199 | 205 | | |
200 | 206 | | |
201 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
| 99 | + | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
| |||
391 | 390 | | |
392 | 391 | | |
393 | 392 | | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | 393 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24308 | 24308 | | |
24309 | 24309 | | |
24310 | 24310 | | |
24311 | | - | |
| 24311 | + | |
24312 | 24312 | | |
24313 | 24313 | | |
24314 | 24314 | | |
| |||
66013 | 66013 | | |
66014 | 66014 | | |
66015 | 66015 | | |
| 66016 | + | |
| 66017 | + | |
66016 | 66018 | | |
66017 | 66019 | | |
66018 | 66020 | | |
| |||
68628 | 68630 | | |
68629 | 68631 | | |
68630 | 68632 | | |
68631 | | - | |
68632 | | - | |
68633 | | - | |
| 68633 | + | |
| 68634 | + | |
| 68635 | + | |
| 68636 | + | |
68634 | 68637 | | |
68635 | 68638 | | |
68636 | 68639 | | |
| |||
68818 | 68821 | | |
68819 | 68822 | | |
68820 | 68823 | | |
| 68824 | + | |
| 68825 | + | |
| 68826 | + | |
| 68827 | + | |
68821 | 68828 | | |
68822 | 68829 | | |
68823 | 68830 | | |
| |||
0 commit comments