Repository navigation
Open
eol
0 / 50 of 5 issues completed
Copy link
Labels
Milestone
Description
Description
A number of representations and fields within these have been deprecated and should be removed. However, this affects API contracts as previously valid representations will no longer be permitted. Additionally, it affects exporting from older versions of Keycloak.
Deprecated Members in Representation Classes
Report of all *Representation.java classes containing @Deprecated annotations. Updated on 11th August, and will not include any newer deprecations after this point.
AbstractAuthenticationExecutionRepresentation
| Member | Type |
|---|---|
autheticatorFlow |
Field |
isAutheticatorFlow() |
Method |
setAutheticatorFlow(boolean) |
Method |
ApplicationRepresentation
The entire class is deprecated.
| Member | Type |
|---|---|
claims |
Field |
AuthorizationDetailsJSONRepresentation
| Member | Type |
|---|---|
DYNAMIC_SCOPE_RAR_TYPE |
Field |
ClientRepresentation
| Member | Type |
|---|---|
defaultRoles |
Field |
directGrantsOnly |
Field |
clientTemplate |
Field |
useTemplateConfig |
Field |
useTemplateScope |
Field |
useTemplateMappers |
Field |
getDefaultRoles() |
Method |
setDefaultRoles(String[]) |
Method |
isDirectGrantsOnly() |
Method |
getClientTemplate() |
Method |
isUseTemplateConfig() |
Method |
isUseTemplateScope() |
Method |
isUseTemplateMappers() |
Method |
ClientTemplateRepresentation
The entire class is deprecated. Use ClientScopeRepresentation instead.
ConsentScopeRepresentation
| Member | Type |
|---|---|
getDisplayTest() |
Method |
setDisplayTest(String) |
Method |
CredentialRepresentation
| Member | Type |
|---|---|
device |
Field |
hashedSaltedValue |
Field |
salt |
Field |
hashIterations |
Field |
counter |
Field |
algorithm |
Field |
digits |
Field |
period |
Field |
config |
Field |
getDevice() |
Method |
getHashedSaltedValue() |
Method |
getSalt() |
Method |
getHashIterations() |
Method |
getCounter() |
Method |
getAlgorithm() |
Method |
getDigits() |
Method |
getPeriod() |
Method |
getConfig() |
Method |
IdentityProviderRepresentation
| Member | Type |
|---|---|
updateProfileFirstLoginMode |
Field |
setUpdateProfileFirstLogin(Boolean) |
Method |
getUpdateProfileFirstLoginMode() |
Method |
setUpdateProfileFirstLoginMode(String) |
Method |
isAuthenticateByDefault() |
Method |
setAuthenticateByDefault(Boolean) |
Method |
OAuthClientRepresentation
The entire class is deprecated.
OrganizationInvitationRepresentation
| Member | Type |
|---|---|
inviteLink |
Field |
getInviteLink() |
Method |
setInviteLink(String) |
Method |
ProtocolMapperRepresentation
| Member | Type |
|---|---|
consentRequired |
Field |
consentText |
Field |
isConsentRequired() |
Method |
getConsentText() |
Method |
RealmRepresentation
| Member | Type |
|---|---|
passwordCredentialGrantAllowed |
Field |
userCacheEnabled |
Field |
realmCacheEnabled |
Field |
privateKey |
Field |
publicKey |
Field |
certificate |
Field |
codeSecret |
Field |
defaultRoles |
Field |
requiredCredentials |
Field |
social |
Field |
updateProfileOnInitialSocialLogin |
Field |
socialProviders |
Field |
applicationScopeMappings |
Field |
applications |
Field |
oauthClients |
Field |
clientTemplates |
Field |
getRequiredCredentials() |
Method |
setRequiredCredentials(Set) |
Method |
getDefaultRoles() |
Method |
setDefaultRoles(List) |
Method |
isSocial() |
Method |
isUpdateProfileOnInitialSocialLogin() |
Method |
getSocialProviders() |
Method |
getOauthClients() |
Method |
getApplicationScopeMappings() |
Method |
getWebAuthnPolicyRequireResidentKey() |
Method |
setWebAuthnPolicyRequireResidentKey(String) |
Method |
getWebAuthnPolicyPasswordlessRequireResidentKey() |
Method |
setWebAuthnPolicyPasswordlessRequireResidentKey(String) |
Method |
getClientTemplates() |
Method |
ResourceRepresentation
| Member | Type |
|---|---|
getUri() |
Method |
setUri(String) |
Method |
RoleRepresentation
| Member | Type |
|---|---|
scopeParamRequired |
Field |
isScopeParamRequired() |
Method |
Composites.application |
Field |
Composites.getApplication() |
Method |
RolesRepresentation
| Member | Type |
|---|---|
application |
Field |
getApplication() |
Method |
ScopeMappingRepresentation
| Member | Type |
|---|---|
clientTemplate |
Field |
getClientTemplate() |
Method |
UserConsentRepresentation
| Member | Type |
|---|---|
grantedRealmRoles |
Field |
getGrantedRealmRoles() |
Method |
UserRepresentation
| Member | Type |
|---|---|
applicationRoles |
Field |
socialLinks |
Field |
isTotp() |
Method |
setTotp(Boolean) |
Method |
getApplicationRoles() |
Method |
getOrigin() |
Method |
setOrigin(String) |
Method |
Summary: 18 Representation classes contain deprecations (3 of which are deprecated at the class level). Across all classes there are 52 deprecated fields and 55 deprecated methods.
Sub-issues
Collapse Sub-issuesSub-issues
Loading 5 sub-issues
Metadata
Metadata
Assignees
Labels
Type
Fields
No fields configured for eol.
Projects
- StatusShow more project fieldsOpen
Activity
stianst commentedon Aug 11, 2026
Breaking changes around the Admin REST API would need to be clearly documented; we also need to figure out how the Admin Client libraries will handle these breaking changes. Options here could be:
For importing from older versions of Keycloak, or manually created realm representations, we could:
org.keycloak.representations.idm.UserRepresentation#isTotpmethod #43587isTotp()andsetTotp()fromUserRepresentation#25727[-]Remove deprecated representations and attributes[/-][+]Remove deprecated representations and representation fields[/+]clientTemplateand related fields fromClientRepresentation#55219