Releases: okta/okta-sdk-java
Releases · okta/okta-sdk-java
1.5.2
- Fixed Http connection retry regression (since 1.4) where SocketException and SocketTimeoutException were not triggering a retry
- Defaults HttpClient's connection pool TTL to 5 minutes (can be configured via the System Property
com.okta.sdk.impl.http.httpclient.HttpClientRequestExecutor.connPoolControl.timeToLive
) - Exposes HttpClient's connection pool
validateAfterInactivity
property, (can be configured via the System Propertycom.okta.sdk.impl.http.httpclient.HttpClientRequestExecutor.connPoolControl.validateAfterInactivity
)
1.5.1
Bug fixes:
- use
StandardCharsets.UTF_8.name()
instead oftoString()
in order to work on older Android devices - Fixes NPE edge case when retry logic is disabled.
1.5.0
- Added
nextLogin
parameter to UserBuilder - Improved rate limit header parsing logic
- environment variable parsing now checks for all okta config values
1.4.1
- Fixed edge case when content-length is unknown
- Updated CI to run with JDK 8 and 11
1.4.0
- Add support for Okta's Policies API
- All Resources implement
ExtensibleResource
andMap<String, Object>
to allow fields unsupported by this SDK to be more easily used. - Added support for OkHttp, HttpClient will be deprecated in the future
- Yaml usage is now optional (dependency on snakeyaml is still compile scope to retain backward
- Added missing nextLogin param on Create User #232
- Fixed issue where Role.type was read-only #249
compatibility/functionality) - Fixed proxy configuration error #237
- Deprecated com.okta.sdk.lang in favor of com.okta.commons.lang
1.3.0
Added configuration validation to protect against common copy/paste errors
1.2.0
-
Add new RequestBuilder interface to allow GET, POST, PUT, and DELETE, see:
client.http()
-
Updated retry logic to better handle
429
responses, configurationokta.client.requestTimeout
: number of seconds to wait to retry multiple requests (defaults to 0)okta.client.rateLimit.maxRetries
: Max number of retry attempts to make before failing (defaults to 4)
Retry logic can be disabled by setting both values to
0
. Any value> 0
will enable the behavior.
NOTE: Ifokta.client.requestTimeout
is set to30
andokta.client.rateLimit.maxRetries
to0
, an unlimited number of retry attempts will be made in this30
second window.
1.1.0
Allows for reuse of base components in Okta's new Okta Authentication SDK
1.0.1
Minor project house keeping (tests build, CI infrastructure cleanup)
1.0.0
- Added support for cacheing resources locally
- Reduce the scope of methods and classes in the
impl
module - Code cleanup
- Removed support for
Application.generateApplicationKey()
- User & App Passwords are now
char[]
s User.forgotPassword
now allows for anull
body