Skip to content

2.0.0

Compare
Choose a tag to compare
@arvindkrishnakumar-okta arvindkrishnakumar-okta released this 07 Jul 21:24
· 364 commits to master since this release

This major release upgrades the Java Management SDK APIs to Open API Spec v2.0.0

Refer to Migration Guide for insights on these changes.

Below is a categorized list of changes that this version brings in.

Additions

Enum Types:

- com.okta.sdk.resource.application.JwkUse.UseEnum
- com.okta.sdk.resource.application.OAuth2Claim.ClaimTypeEnum
- com.okta.sdk.resource.application.OAuth2Claim.GroupFilterTypeEnum
- com.okta.sdk.resource.application.OAuth2Claim.StatusEnum
- com.okta.sdk.resource.application.OAuth2Claim.ValueTypeEnum
- com.okta.sdk.resource.application.OAuth2RefreshToken.StatusEnum
- com.okta.sdk.resource.application.OAuth2Scope.ConsentEnum
- com.okta.sdk.resource.application.OAuth2Scope.MetadataPublishEnum
- com.okta.sdk.resource.application.OAuth2ScopeConsentGrantSource
- com.okta.sdk.resource.application.OAuth2ScopeConsentGrantStatus
- com.okta.sdk.resource.application.OAuth2Token.StatusEnum
- com.okta.sdk.resource.application.OpenIdConnectApplicationIssuerMode
- com.okta.sdk.resource.authorization.server.ApplicationCredentialsSigningUse
- com.okta.sdk.resource.authorization.server.AuthorizationServer.IssuerModeEnum
- com.okta.sdk.resource.authorization.server.AuthorizationServer.StatusEnum
- com.okta.sdk.resource.authorization.server.AuthorizationServerCredentialsRotationMode
- com.okta.sdk.resource.authorization.server.AuthorizationServerCredentialsUse
- com.okta.sdk.resource.common.EnabledStatus
- com.okta.sdk.resource.event.hook.EventHook.StatusEnum
- com.okta.sdk.resource.event.hook.EventHook.VerificationStatusEnum
- com.okta.sdk.resource.event.hook.EventHookChannel.TypeEnum
- com.okta.sdk.resource.event.hook.EventHookChannelConfigAuthSchemeType
- com.okta.sdk.resource.event.hook.EventSubscriptions.TypeEnum
- com.okta.sdk.resource.feature.FeatureStageState
- com.okta.sdk.resource.feature.FeatureStageValue
- com.okta.sdk.resource.feature.FeatureType
- com.okta.sdk.resource.group.GroupType
- com.okta.sdk.resource.identity.provider.IdentityProvider.IssuerModeEnum
- com.okta.sdk.resource.identity.provider.IdentityProvider.StatusEnum
- com.okta.sdk.resource.identity.provider.IdentityProvider.TypeEnum
- com.okta.sdk.resource.identity.provider.IdentityProviderCredentialsTrust.RevocationEnum
- com.okta.sdk.resource.identity.provider.ProtocolAlgorithmTypeSignature.ScopeEnum
- com.okta.sdk.resource.identity.provider.Protocol.TypeEnum
- com.okta.sdk.resource.identity.provider.ProtocolEndpoint.BindingEnum
- com.okta.sdk.resource.identity.provider.ProtocolEndpoint.TypeEnum
- com.okta.sdk.resource.identity.provider.ProtocolRelayStateFormat
- com.okta.sdk.resource.identity.provider.Provisioning.ActionEnum
- com.okta.sdk.resource.identity.provider.ProvisioningDeprovisionedCondition.ActionEnum
- com.okta.sdk.resource.identity.provider.ProvisioningGroups.ActionEnum
- com.okta.sdk.resource.identity.provider.ProvisioningSuspendedCondition.ActionEnum
- com.okta.sdk.resource.identity.provider.SocialAuthToken.TokenTypeEnum
- com.okta.sdk.resource.inline.hook.InlineHookChannel.TypeEnum
- com.okta.sdk.resource.inline.hook.InlineHookStatus
- com.okta.sdk.resource.inline.hook.InlineHookType
- com.okta.sdk.resource.linked.object.LinkedObjectDetailsType
- com.okta.sdk.resource.policy.AppAndInstanceConditionEvaluatorAppOrInstance.TypeEnum
- com.okta.sdk.resource.policy.DevicePolicyRuleCondition.TrustLevelEnum
- com.okta.sdk.resource.policy.IdentityProviderPolicyRuleCondition.ProviderEnum
- com.okta.sdk.resource.policy.MDMEnrollmentPolicyRuleCondition.EnrollmentEnum
- com.okta.sdk.resource.policy.PlatformConditionEvaluatorPlatform.TypeEnum
- com.okta.sdk.resource.policy.PlatformConditionEvaluatorPlatformOperatingSystem.TypeEnum
- com.okta.sdk.resource.policy.PlatformConditionEvaluatorPlatformOperatingSystemVersion.MatchTypeEnum
- com.okta.sdk.resource.policy.Platforms
- com.okta.sdk.resource.policy.PolicyAccountLink
- com.okta.sdk.resource.policy.PolicyAccountLink.ActionEnum
- com.okta.sdk.resource.policy.PolicySubjectMatchType
- com.okta.sdk.resource.policy.ScheduledUserLifecycleAction.StatusEnum
- com.okta.sdk.resource.policy.UserIdentifierConditionEvaluatorPattern.MatchTypeEnum
- com.okta.sdk.resource.policy.UserIdentifierPolicyRuleCondition.TypeEnum
- com.okta.sdk.resource.policy.UserStatusPolicyRuleCondition.ValueEnum
- com.okta.sdk.resource.role.CatalogApplicationStatus
- com.okta.sdk.resource.role.RoleAssignmentType
- com.okta.sdk.resource.role.RoleType
- com.okta.sdk.resource.role.ScopeType
- com.okta.sdk.resource.template.SmsTemplateType
- com.okta.sdk.resource.user.factor.VerifyUserFactorResponse.FactorResultEnum
- com.okta.sdk.resource.user.PasswordCredentialHashAlgorithm

Classes/Interfaces:

- com.okta.sdk.resource.application.ApplicationBuilder
- com.okta.sdk.resource.application.AuthorizationServerCredentials
- com.okta.sdk.resource.application.Csr
- com.okta.sdk.resource.application.CsrList
- com.okta.sdk.resource.application.CsrMetadata
- com.okta.sdk.resource.application.CsrMetadataSubject
- com.okta.sdk.resource.application.CsrMetadataSubjectAltNames
- com.okta.sdk.resource.application.JwkUse
- com.okta.sdk.resource.application.OAuth2Actor
- com.okta.sdk.resource.application.OAuth2Claim
- com.okta.sdk.resource.application.OAuth2ClaimConditions
- com.okta.sdk.resource.application.OAuth2ClaimList
- com.okta.sdk.resource.application.OAuth2Client
- com.okta.sdk.resource.application.OAuth2ClientList
- com.okta.sdk.resource.application.OAuth2RefreshToken
- com.okta.sdk.resource.application.OAuth2RefreshTokenList
- com.okta.sdk.resource.application.OAuth2Scope
- com.okta.sdk.resource.application.OAuth2ScopeConsentGrant
- com.okta.sdk.resource.application.OAuth2ScopeConsentGrantList
- com.okta.sdk.resource.application.OAuth2ScopeList
- com.okta.sdk.resource.application.OAuth2ScopesMediationPolicyRuleCondition
- com.okta.sdk.resource.application.OAuth2Token
- com.okta.sdk.resource.application.OAuth2TokenList
- com.okta.sdk.resource.application.OIdCApplicationBuilder
- com.okta.sdk.resource.authorization.server.AuthorizationServer
- com.okta.sdk.resource.authorization.server.AuthorizationServerCredentialsSigningConfig
- com.okta.sdk.resource.authorization.server.AuthorizationServerList
- com.okta.sdk.resource.event.hook.EventHook
- com.okta.sdk.resource.event.hook.EventHookBuilder
- com.okta.sdk.resource.event.hook.EventHookChannel
- com.okta.sdk.resource.event.hook.EventHookChannelConfig
- com.okta.sdk.resource.event.hook.EventHookChannelConfigAuthScheme
- com.okta.sdk.resource.event.hook.EventHookChannelConfigHeader
- com.okta.sdk.resource.event.hook.EventHookList
- com.okta.sdk.resource.event.hook.EventSubscriptions
- com.okta.sdk.resource.feature.Feature
- com.okta.sdk.resource.feature.FeatureList
- com.okta.sdk.resource.feature.FeatureStage
- com.okta.sdk.resource.group.rule.GroupRuleBuilder
- com.okta.sdk.resource.identity.provider.IdentityProvider
- com.okta.sdk.resource.identity.provider.IdentityProviderApplicationUser
- com.okta.sdk.resource.identity.provider.IdentityProviderApplicationUserList
- com.okta.sdk.resource.identity.provider.IdentityProviderBuilder
- com.okta.sdk.resource.identity.provider.IdentityProviderBuilders
- com.okta.sdk.resource.identity.provider.IdentityProviderCredentials
- com.okta.sdk.resource.identity.provider.IdentityProviderCredentialsClient
- com.okta.sdk.resource.identity.provider.IdentityProviderCredentialsSigning
- com.okta.sdk.resource.identity.provider.IdentityProviderCredentialsTrust
- com.okta.sdk.resource.identity.provider.IdentityProviderList
- com.okta.sdk.resource.identity.provider.OIDCIdentityProviderBuilder
- com.okta.sdk.resource.identity.provider.Protocol
- com.okta.sdk.resource.identity.provider.ProtocolAlgorithms
- com.okta.sdk.resource.identity.provider.ProtocolAlgorithmType
- com.okta.sdk.resource.identity.provider.ProtocolAlgorithmTypeSignature
- com.okta.sdk.resource.identity.provider.ProtocolEndpoint
- com.okta.sdk.resource.identity.provider.ProtocolEndpoints
- com.okta.sdk.resource.identity.provider.ProtocolRelayState
- com.okta.sdk.resource.identity.provider.ProtocolSettings
- com.okta.sdk.resource.identity.provider.Provisioning
- com.okta.sdk.resource.identity.provider.ProvisioningConditions
- com.okta.sdk.resource.identity.provider.ProvisioningDeprovisionedCondition
- com.okta.sdk.resource.identity.provider.ProvisioningGroups
- com.okta.sdk.resource.identity.provider.ProvisioningSuspendedCondition
- com.okta.sdk.resource.identity.provider.SocialAuthToken
- com.okta.sdk.resource.identity.provider.SocialAuthTokenList
- com.okta.sdk.resource.inline.hook.InlineHook
- com.okta.sdk.resource.inline.hook.InlineHookBuilder
- com.okta.sdk.resource.inline.hook.InlineHookChannel
- com.okta.sdk.resource.inline.hook.InlineHookChannelConfig
- com.okta.sdk.resource.inline.hook.InlineHookChannelConfigAuthScheme
- com.okta.sdk.resource.inline.hook.InlineHookChannelConfigHeaders
- com.okta.sdk.resource.inline.hook.InlineHookList
- com.okta.sdk.resource.inline.hook.InlineHookPayload
- com.okta.sdk.resource.inline.hook.InlineHookResponse
- com.okta.sdk.resource.inline.hook.InlineHookResponseCommands
- com.okta.sdk.resource.inline.hook.InlineHookResponseCommandValue
- com.okta.sdk.resource.ion.IonField
- com.okta.sdk.resource.ion.IonForm
- com.okta.sdk.resource.linked.object.LinkedObject
- com.okta.sdk.resource.linked.object.LinkedObjectDetails
- com.okta.sdk.resource.linked.object.LinkedObjectList
- com.okta.sdk.resource.policy.AppAndInstanceConditionEvaluatorAppOrInstance
- com.okta.sdk.resource.policy.AppAndInstancePolicyRuleCondition
- com.okta.sdk.resource.policy.AppInstancePolicyRuleCondition
- com.okta.sdk.resource.policy.BeforeScheduledActionPolicyRuleCondition
- com.okta.sdk.resource.policy.ClientPolicyCondition
- com.okta.sdk.resource.policy.ContextPolicyRuleCondition
- com.okta.sdk.resource.policy.DevicePolicyRuleCondition
- com.okta.sdk.resource.policy.DevicePolicyRuleConditionPlatform
- com.okta.sdk.resource.policy.Duration
- com.okta.sdk.resource.policy.GrantTypePolicyRuleCondition
- com.okta.sdk.resource.policy.GroupPolicyRuleCondition
- com.okta.sdk.resource.policy.IdentityProviderPolicy
- com.okta.sdk.resource.policy.IdentityProviderPolicyRuleCondition
- com.okta.sdk.resource.policy.InactivityPolicyRuleCondition
- com.okta.sdk.resource.policy.LifecycleExpirationPolicyRuleCondition
- com.okta.sdk.resource.policy.MDMEnrollmentPolicyRuleCondition
- com.okta.sdk.resource.policy.MDMFrameworks
- com.okta.sdk.resource.policy.OAuthAuthorizationPolicy
- com.okta.sdk.resource.policy.OktaSignOnPolicyBuilder
- com.okta.sdk.resource.policy.PasswordExpirationPolicyRuleCondition
- com.okta.sdk.resource.policy.PasswordPolicyBuilder
- com.okta.sdk.resource.policy.PlatformConditionEvaluatorPlatform
- com.okta.sdk.resource.policy.PlatformConditionEvaluatorPlatformOperatingSystem
- com.okta.sdk.resource.policy.PlatformConditionEvaluatorPlatformOperatingSystemVersion
- com.okta.sdk.resource.policy.PlatformPolicyRuleCondition
- com.okta.sdk.resource.policy.PolicyAccountLinkFilter
- com.okta.sdk.resource.policy.PolicyAccountLinkFilterGroups
- com.okta.sdk.resource.policy.PolicyBuilder
- com.okta.sdk.resource.policy.PolicyRuleConditions
- com.okta.sdk.resource.policy.PolicySubject
- com.okta.sdk.resource.policy.PolicyUserNameTemplate
- com.okta.sdk.resource.policy.RiskPolicyRuleCondition
- com.okta.sdk.resource.policy.RiskScorePolicyRuleCondition
- com.okta.sdk.resource.policy.rule.PasswordPolicyRuleBuilder
- com.okta.sdk.resource.policy.rule.PolicyRuleBuilder
- com.okta.sdk.resource.policy.rule.SignOnPolicyRuleBuilder
- com.okta.sdk.resource.policy.ScheduledUserLifecycleAction
- com.okta.sdk.resource.policy.UserIdentifierConditionEvaluatorPattern
- com.okta.sdk.resource.policy.UserIdentifierPolicyRuleCondition
- com.okta.sdk.resource.policy.UserIdentityProviderLinkRequest
- com.okta.sdk.resource.policy.UserLifecycleAttributePolicyRuleCondition
- com.okta.sdk.resource.policy.UserPolicyRuleCondition
- com.okta.sdk.resource.policy.UserStatusPolicyRuleCondition
- com.okta.sdk.resource.role.AssignRoleRequest
- com.okta.sdk.resource.role.CatalogApplication
- com.okta.sdk.resource.role.CatalogApplicationList
- com.okta.sdk.resource.role.Scope
- com.okta.sdk.resource.template.SmsTemplate
- com.okta.sdk.resource.template.SmsTemplateList
- com.okta.sdk.resource.template.SmsTemplateTranslations
- com.okta.sdk.resource.trusted.origin.TrustedOrigin
- com.okta.sdk.resource.trusted.origin.TrustedOriginList
- com.okta.sdk.resource.user.CreateUserRequest
- com.okta.sdk.resource.user.factor.ActivateFactorRequest
- com.okta.sdk.resource.user.factor.CallUserFactor
- com.okta.sdk.resource.user.factor.CallUserFactorProfile
- com.okta.sdk.resource.user.factor.EmailUserFactor
- com.okta.sdk.resource.user.factor.EmailUserFactorProfile
- com.okta.sdk.resource.user.factor.HardwareUserFactor
- com.okta.sdk.resource.user.factor.HardwareUserFactorProfile
- com.okta.sdk.resource.user.factor.PushUserFactor
- com.okta.sdk.resource.user.factor.PushUserFactorProfile
- com.okta.sdk.resource.user.factor.SecurityQuestionUserFactor
- com.okta.sdk.resource.user.factor.SecurityQuestionUserFactorProfile
- com.okta.sdk.resource.user.factor.SmsUserFactor
- com.okta.sdk.resource.user.factor.SmsUserFactorProfile
- com.okta.sdk.resource.user.factor.TokenUserFactor
- com.okta.sdk.resource.user.factor.TokenUserFactorProfile
- com.okta.sdk.resource.user.factor.TotpUserFactor
- com.okta.sdk.resource.user.factor.TotpUserFactorProfile
- com.okta.sdk.resource.user.factor.U2fUserFactor
- com.okta.sdk.resource.user.factor.U2fUserFactorProfile
- com.okta.sdk.resource.user.factor.UserFactor
- com.okta.sdk.resource.user.factor.UserFactorList
- com.okta.sdk.resource.user.factor.VerifyUserFactorResponse
- com.okta.sdk.resource.user.factor.WebAuthnUserFactor
- com.okta.sdk.resource.user.factor.WebAuthnUserFactorProfile
- com.okta.sdk.resource.user.factor.WebUserFactor
- com.okta.sdk.resource.user.factor.WebUserFactorProfile
- com.okta.sdk.resource.user.PasswordCredentialHash
- com.okta.sdk.resource.user.PasswordCredentialHook
- com.okta.sdk.resource.user.ResponseLinks
- com.okta.sdk.resource.user.ResponseLinksList
- com.okta.sdk.resource.user.type.UserType
- com.okta.sdk.resource.user.type.UserTypeList

Updations

Enum Types:

- com.okta.sdk.client.AuthenticationScheme
- com.okta.sdk.resource.policy.PolicyType
- com.okta.sdk.resource.user.factor.FactorResultType
- com.okta.sdk.resource.user.factor.FactorType

Classes/Interfaces:

- com.okta.sdk.client.Client
- com.okta.sdk.resource.application.Application
- com.okta.sdk.resource.application.ApplicationCredentialsSigning
- com.okta.sdk.resource.application.ApplicationSettings
- com.okta.sdk.resource.application.OpenIdConnectApplicationSettingsClient
- com.okta.sdk.resource.application.SwaThreeFieldApplicationSettingsApplication
- com.okta.sdk.resource.group.Group
- com.okta.sdk.resource.group.rule.GroupRule
- com.okta.sdk.resource.log.LogAuthenticationContext
- com.okta.sdk.resource.policy.PasswordPolicySettings
- com.okta.sdk.resource.policy.Policy
- com.okta.sdk.resource.policy.PolicyRule
- com.okta.sdk.resource.user.factor.VerifyFactorRequest
- com.okta.sdk.resource.user.PasswordCredential
- com.okta.sdk.resource.user.Role
- com.okta.sdk.resource.user.User
- com.okta.sdk.resource.user.UserCredentials
- com.okta.sdk.resource.user.UserProfile

Deletions

Note: All *Factor classes have been renamed to *UserFactor.

Classes & Interfaces:

- com.okta.sdk.resource.user.EmailAddress
- com.okta.sdk.resource.user.EmailStatus
- com.okta.sdk.resource.user.EmailType
- com.okta.sdk.resource.user.factor.CallFactor
- com.okta.sdk.resource.user.factor.CallFactorProfile
- com.okta.sdk.resource.user.factor.EmailFactor
- com.okta.sdk.resource.user.factor.EmailFactorProfile
- com.okta.sdk.resource.user.factor.Factor
- com.okta.sdk.resource.user.factor.FactorList
- com.okta.sdk.resource.user.factor.FactorProfile
- com.okta.sdk.resource.user.factor.HardwareFactor
- com.okta.sdk.resource.user.factor.HardwareFactorProfile
- com.okta.sdk.resource.user.factor.PushFactor
- com.okta.sdk.resource.user.factor.PushFactorProfile
- com.okta.sdk.resource.user.factor.SecurityQuestionFactor
- com.okta.sdk.resource.user.factor.SecurityQuestionFactorProfile
- com.okta.sdk.resource.user.factor.SmsFactor
- com.okta.sdk.resource.user.factor.SmsFactorProfile
- com.okta.sdk.resource.user.factor.TokenFactor
- com.okta.sdk.resource.user.factor.TokenFactorProfile
- com.okta.sdk.resource.user.factor.TotpFactor
- com.okta.sdk.resource.user.factor.TotpFactorProfile
- com.okta.sdk.resource.user.factor.U2fFactor
- com.okta.sdk.resource.user.factor.U2fFactorProfile
- com.okta.sdk.resource.user.factor.VerifyFactorResponse
- com.okta.sdk.resource.user.factor.WebFactor
- com.okta.sdk.resource.user.factor.WebFactorProfile

Deprecations

Below SDK classes/interfaces are deprecated.
These SDK classes were previously moved to okta-commons-java).

- com.okta.sdk.authc.credentials.ClientCredentialsProvider
- com.okta.sdk.client.Proxy
- com.okta.sdk.http.HttpMethod
- com.okta.sdk.http.HttpRequest
- com.okta.sdk.http.HttpRequestBuilder
- com.okta.sdk.http.HttpRequests
- com.okta.sdk.http.UserAgentProvider
- com.okta.sdk.lang.Assert
- com.okta.sdk.lang.Classes
- com.okta.sdk.lang.Collections
- com.okta.sdk.lang.Duration
- com.okta.sdk.lang.InstantiationException
- com.okta.sdk.lang.Instants
- com.okta.sdk.lang.Locales
- com.okta.sdk.lang.Objects
- com.okta.sdk.lang.Strings
- com.okta.sdk.lang.UnknownClassException

Issues Fixed