-
InterfaceDescriptionThis is only available when the legacy store is enabled. Support for this will be eventually removed.This interface is no longer necessary; collection-based methods were removed from the parent interface and therefore the parent interface can be used directlyThis interface is no longer necessary; collection-based methods were removed from the parent interface and therefore the parent interface can be used directlyThis interface is no longer necessary, collection-based methods were removed from the parent interface and therefore the parent interface can be used directlyThis interface is no longer necessary; collection-based methods were removed from the parent interface and therefore the parent interface can be used directlyThis interface is no longer necessary; collection-based methods were removed from the parent interface and therefore the parent interface can be used directlyThis interface is no longer necessary; collection-based methods were removed from the parent interface and therefore the parent interface can be used directlyThis interface is no longer necessary; collection-based methods were removed from the parent interface and therefore the parent interface can be used directlyThis interface is no longer necessary; collection-based methods were removed from the parent interface and therefore the parent interface can be used directly
-
ClassDescriptionClass is deprecated and may be removed in the future. Use org.keycloak.saml.BaseSAML2BindingBuilder#buildHtml insteadRecommended to use
UserCredentialModel
as it contains all the functionality required by this classThis interface is no longer necessary; collection-based methods were removed from the parent interface and therefore the parent interface can be used directly- DELETE once only used from within legacy datastore module
-
FieldDescriptionUse
LDAPConstants.USE_TRUSTSTORE_ALWAYS
instead.UseGitHubIdentityProvider.DEFAULT_AUTH_URL
instead.UseGitHubIdentityProvider.DEFAULT_EMAIL_URL
instead.UseGitHubIdentityProvider.DEFAULT_PROFILE_URL
instead.UseGitHubIdentityProvider.DEFAULT_TOKEN_URL
instead.
-
MethodDescriptionuse
RealmLocalizationResource.getRealmLocalizationTexts(String)
, in order to retrieve localization texts without fallbacks. If you need fallbacks, call the endpoint multiple time with all the relevant locales (e.g. "de" in case of "de-CH") - the realm default locale is NOT the only fallback to be considered.please useRoleResource.getUserMembers()
UsegetAttributeStream
instead.- Not used- Not usedRecommended to use PasswordCredentialModel.getPasswordCredentialData().getAlgorithm() or OTPCredentialModel.getOTPCredentialData().getAlgorithm()Recommended to useCredentialModel.getCredentialData()
instead and use the subtype of CredentialData specific to your credentialRecommended to use OTPCredentialModel.getOTPCredentialData().getCounter()Recommended to use OTPCredentialModel.getOTPCredentialData().getDevice()Recommended to use OTPCredentialModel.getOTPCredentialData().getDigits()Recommended to use PasswordCredentialModel.getPasswordCredentialData().getHashIterations()Recommended to use OTPCredentialModel.getOTPCredentialData().getPeriod()Recommended to use PasswordCredentialModel.getPasswordSecretData().getSalt()Recommended to use PasswordCredentialModel.getPasswordSecretData().getValue() or OTPCredentialModel.getOTPSecretData().getValue()Recommended to useCredentialModel.setCredentialData(String)
instead and use the subtype of CredentialData specific to your credentialExists due the backwards compatibility. It is recommended to usePasswordHashProvider.encodedCredential(String, int)
}Exists due the backwards compatibility. It is recommended to usePasswordHashProvider.policyCheck(PasswordPolicy, PasswordCredentialModel)
Exists due the backwards compatibility. It is recommended to usePasswordHashProvider.verify(String, PasswordCredentialModel)
Unused method. Currently, used only in the testsuiteUnused method. Currently, used only in the testsuiteThis method is problem from the performance perspective. Some storages can provide better way for doing this (e.g. entry lifespan in the Infinispan server, etc.). We need to leave solving event expiration to each storage provider separately using expiration field on entity level.Do not use, to be removedDo not use, this is only to support a deprecated logout endpoint and will vanish with it's removalDeprecated in favor of {@link #getComponentProvider)UsegetClientStorageProvidersStream
instead.UsegetRoleStorageProvidersStream
instead.UsegetUserStorageProvidersStream
instead.UseSoap.SoapMessageBuilder.call(String,KeycloakSession)
to use SimpleHttp configurationPrefer overriding/using theEnvironmentDependentProviderFactory.isSupported(Config.Scope)
method.deprecated and replaced by configuration on IdpReviewProfileAuthenticatorReplaced by configuration option in identity provider authenticatordeprecated and replaced by configuration on IdpReviewProfileAuthenticatorint will overflow with values after 2038. UseIDToken.getAuth_time()
instead.int will overflow with values after 2038. UseIDToken.setAuth_time(Long)
()} instead.int will overflow with values after 2038. UseJsonWebToken.exp(Long)
instead.int will overflow with values after 2038. UseJsonWebToken.getExp()
instead.int will overflow with values after 2038. UseJsonWebToken.getIat()
instead.int will overflow with values after 2038. UseJsonWebToken.getNbf()
instead.int will overflow with values after 2038. UseJsonWebToken.iat(Long)
()} instead.int will overflow with values after 2038. UseJsonWebToken.nbf(Long)
instead.org.keycloak.saml.common.util.StaxParserUtil.getBooleanAttributeValue(StartElement, String, boolean) UseDefaultKeycloakContext.getHttpRequest()
to obtain the request headers.org.keycloak.services.resources.account.LinkedAccountsResource.buildLinkedAccountURI(String, String) Instead, usePasswordUtil.isConfigured()
the method is not used neither from admin console or from admin client. It may be removed in future releases.manual removal of expired entities should not be used anymore. It is responsibility of the store implementation to handle expirable entitiesmanual removal of expired entities should not be used anymore. It is responsibility of the store implementation to handle expirable entitiesUseAbstractUserAdapter.getAttributeStream(String)
insteadUseAbstractUserAdapter.getGroupsStream()
insteadUseAbstractUserAdapter.getRealmRoleMappingsStream()
insteadUseAbstractUserAdapter.getRoleMappingsStream()
insteadUseStorageId.isLocalStorage(String)
instead.UseStorageId.isLocalStorage(String)
instead.UseStorageId.providerId(String)
instead.UseStorageId.providerId(String)
instead.UseUserCountMethodsProvider.getUsersCount(RealmModel, Map)
with anparams
map containingUserModel.SEARCH
instead.UseUserCountMethodsProvider.getUsersCount(RealmModel, Map, Set)
with anparams
map containingUserModel.SEARCH
instead.UseUserQueryMethodsProvider.searchForUserStream(RealmModel, Map)
with anparams
map containingUserModel.SEARCH
instead.UseUserQueryMethodsProvider.searchForUserStream(RealmModel, Map, Integer, Integer)
with anparams
map containingUserModel.SEARCH
instead.This method is here only for backward compatibility with previous version ofTokenVerifier
.This method is here only for backward compatibility with previous version ofTokenVerifier
.This method is here only for backward compatibility with previous version ofTokenVerifier
.This method is here only for backward compatibility with previous version ofTokenVerifier
.should be removed onceDeclarativeUserProfileProvider
becomes the default.
-
Enum ConstantDescriptionsee KEYCLOAK-2266Use namespace-aware variant insteadUse namespace-aware variant instead