This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new b9bfe178599b camel-keycloak: deprecate 11 documented headers that
nothing reads (#29955)
b9bfe178599b is described below
commit b9bfe178599b4986cfb230df2f86bd3e47f5a55d
Author: dhairya05 <[email protected]>
AuthorDate: Mon Nov 16 19:00:41 2026 +0530
camel-keycloak: deprecate 11 documented headers that nothing reads (#29955)
`KeycloakProducer` reads every header it honours explicitly by constant -
`exchange.getIn().getHeader(KeycloakConstants.REALM_NAME, String.class)` and so
on. Of the 66 headers `KeycloakConstants` publishes with `@Metadata`, 11 appear
nowhere in the main sources at all: not read, not written, not referenced from
a test.
They are not obscure corners. Each sits beside one that does work, so the
component docs read as if a whole set were supported when only part of it is:
Co-Authored-By: Claude Opus 5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
.../apache/camel/catalog/components/keycloak.json | 22 ++++-----
.../apache/camel/component/keycloak/keycloak.json | 22 ++++-----
.../component/keycloak/KeycloakConstants.java | 57 +++++++++++++++++-----
.../ROOT/pages/camel-4x-upgrade-guide-4_24.adoc | 38 +++++++++++++++
.../dsl/KeycloakEndpointBuilderFactory.java | 57 +++++++++++++++++-----
5 files changed, 152 insertions(+), 44 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/keycloak.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/keycloak.json
index f48c75bd661a..b926979830fa 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/keycloak.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/keycloak.json
@@ -67,7 +67,7 @@
"CamelKeycloakUserEmail": { "index": 4, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
user email", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#USER_EMAIL" },
"CamelKeycloakUserFirstName": { "index": 5, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The user first name", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#USER_FIRST_NAME" },
"CamelKeycloakUserLastName": { "index": 6, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The user last name", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#USER_LAST_NAME" },
- "CamelKeycloakRoleId": { "index": 7, "kind": "header", "displayName": "",
"group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
role ID", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#ROLE_ID" },
+ "CamelKeycloakRoleId": { "index": 7, "kind": "header", "displayName": "",
"group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": true, "deprecationNote": "Never read by the component: the role
operations address a role by its name (CamelKeycloakRoleName)", "autowired":
false, "secret": false, "description": "The role ID. Deprecation note: Never
read by the component: the role operations address a role by its name
(CamelKeycloakRoleName)", "constantName [...]
"CamelKeycloakRoleName": { "index": 8, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
role name", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#ROLE_NAME" },
"CamelKeycloakRoleDescription": { "index": 9, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The role description", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#ROLE_DESCRIPTION" },
"CamelKeycloakGroupId": { "index": 10, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
group ID", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#GROUP_ID" },
@@ -84,21 +84,21 @@
"CamelKeycloakEventType": { "index": 21, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
event type (event or admin-event)", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#EVENT_TYPE" },
"CamelKeycloakEventId": { "index": 22, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "Long",
"deprecated": false, "autowired": false, "secret": false, "description": "The
event ID or timestamp", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#EVENT_ID" },
"CamelKeycloakIdpAlias": { "index": 23, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
identity provider alias", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#IDP_ALIAS" },
- "CamelKeycloakIdpId": { "index": 24, "kind": "header", "displayName": "",
"group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
identity provider ID", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#IDP_ID" },
+ "CamelKeycloakIdpId": { "index": 24, "kind": "header", "displayName": "",
"group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": true, "deprecationNote": "Never read by the component: the
identity provider operations address a provider by its alias
(CamelKeycloakIdpAlias)", "autowired": false, "secret": false, "description":
"The identity provider ID. Deprecation note: Never read by the component: the
identity provider operations address a provider by [...]
"CamelKeycloakResourceId": { "index": 25, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
resource ID", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#RESOURCE_ID" },
- "CamelKeycloakResourceName": { "index": 26, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The resource name", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#RESOURCE_NAME" },
- "CamelKeycloakResourceType": { "index": 27, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The resource type", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#RESOURCE_TYPE" },
- "CamelKeycloakResourceUri": { "index": 28, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The resource URI", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#RESOURCE_URI" },
+ "CamelKeycloakResourceName": { "index": 26, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": true, "deprecationNote": "Never read by the
component: createResource and updateResource take a ResourceRepresentation as
the POJO request body", "autowired": false, "secret": false, "description":
"The resource name. Deprecation note: Never read by the component:
createResource and updateResource take a ResourceRepres [...]
+ "CamelKeycloakResourceType": { "index": 27, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": true, "deprecationNote": "Never read by the
component: createResource and updateResource take a ResourceRepresentation as
the POJO request body", "autowired": false, "secret": false, "description":
"The resource type. Deprecation note: Never read by the component:
createResource and updateResource take a ResourceRepres [...]
+ "CamelKeycloakResourceUri": { "index": 28, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": true, "deprecationNote": "Never read by the
component: createResource and updateResource take a ResourceRepresentation as
the POJO request body", "autowired": false, "secret": false, "description":
"The resource URI. Deprecation note: Never read by the component:
createResource and updateResource take a ResourceRepresen [...]
"CamelKeycloakPolicyId": { "index": 29, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
policy ID", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#POLICY_ID" },
- "CamelKeycloakPolicyName": { "index": 30, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
policy name", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#POLICY_NAME" },
- "CamelKeycloakPolicyType": { "index": 31, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
policy type", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#POLICY_TYPE" },
+ "CamelKeycloakPolicyName": { "index": 30, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": true, "deprecationNote": "Never read by the component: the
resource policy operations take a PolicyRepresentation as the POJO request
body", "autowired": false, "secret": false, "description": "The policy name.
Deprecation note: Never read by the component: the resource policy operations
take a PolicyRepresentation as th [...]
+ "CamelKeycloakPolicyType": { "index": 31, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": true, "deprecationNote": "Never read by the component: the
resource policy operations take a PolicyRepresentation as the POJO request
body", "autowired": false, "secret": false, "description": "The policy type.
Deprecation note: Never read by the component: the resource policy operations
take a PolicyRepresentation as th [...]
"CamelKeycloakPermissionId": { "index": 32, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The permission ID", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#PERMISSION_ID" },
- "CamelKeycloakPermissionName": { "index": 33, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The permission name", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#PERMISSION_NAME" },
- "CamelKeycloakScopeName": { "index": 34, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
scope name", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#SCOPE_NAME" },
+ "CamelKeycloakPermissionName": { "index": 33, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": true, "deprecationNote": "Never read by the
component: createResourcePermission takes a ResourcePermissionRepresentation as
the POJO request body, and the other permission operations identify the
permission with CamelKeycloakPermissionId", "autowired": false, "secret":
false, "description": "The permission name. Depr [...]
+ "CamelKeycloakScopeName": { "index": 34, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": true, "deprecationNote": "Never read by the component: there are
no authorization-scope operations, and the client scope operations use
CamelKeycloakClientScopeName", "autowired": false, "secret": false,
"description": "The scope name. Deprecation note: Never read by the component:
there are no authorization-scope operati [...]
"CamelKeycloakAttributeName": { "index": 35, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The user attribute name", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#ATTRIBUTE_NAME" },
"CamelKeycloakAttributeValue": { "index": 36, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The user attribute value", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#ATTRIBUTE_VALUE" },
"CamelKeycloakCredentialId": { "index": 37, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The credential ID", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#CREDENTIAL_ID" },
- "CamelKeycloakCredentialType": { "index": 38, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The credential type", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#CREDENTIAL_TYPE" },
+ "CamelKeycloakCredentialType": { "index": 38, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": true, "deprecationNote": "Never read by the
component: no credential operation takes a CredentialRepresentation request
body. deleteUserCredential uses CamelKeycloakCredentialId, and
resetUserPassword builds a password credential from CamelKeycloakUserPassword",
"autowired": false, "secret": false, "description": "Th [...]
"CamelKeycloakRequiredAction": { "index": 39, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The required action type", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#REQUIRED_ACTION" },
"CamelKeycloakActions": { "index": 40, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType":
"java.util.List<String>", "deprecated": false, "autowired": false, "secret":
false, "description": "The list of actions to execute", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#ACTIONS" },
"CamelKeycloakRedirectUri": { "index": 41, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The redirect URI", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#REDIRECT_URI" },
@@ -108,7 +108,7 @@
"CamelKeycloakUsernames": { "index": 45, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType":
"java.util.List<String>", "deprecated": false, "autowired": false, "secret":
false, "description": "The list of usernames for bulk operations",
"constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#USERNAMES" },
"CamelKeycloakRoleNames": { "index": 46, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType":
"java.util.List<String>", "deprecated": false, "autowired": false, "secret":
false, "description": "The list of role names for bulk operations",
"constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#ROLE_NAMES" },
"CamelKeycloakContinueOnError": { "index": 47, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "Boolean", "deprecated": false, "autowired": false, "secret":
false, "description": "Continue on error during bulk operations",
"constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#CONTINUE_ON_ERROR" },
- "CamelKeycloakBatchSize": { "index": 48, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "Integer",
"deprecated": false, "autowired": false, "secret": false, "description": "Batch
size for bulk operations", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#BATCH_SIZE" },
+ "CamelKeycloakBatchSize": { "index": 48, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "Integer",
"deprecated": true, "deprecationNote": "Never read by the component: the bulk
operations send every element of the list one by one, with no batching",
"autowired": false, "secret": false, "description": "Batch size for bulk
operations. Deprecation note: Never read by the component: the bulk operations
send every element of the list on [...]
"CamelKeycloakAccessToken": { "index": 49, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The access token for permission evaluation", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#ACCESS_TOKEN" },
"CamelKeycloakToken": { "index": 50, "kind": "header", "displayName": "",
"group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
token for revocation or introspection", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#TOKEN" },
"CamelKeycloakTokenTypeHint": { "index": 51, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The token type hint for revocation", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#TOKEN_TYPE_HINT" },
diff --git
a/components/camel-keycloak/src/generated/resources/META-INF/org/apache/camel/component/keycloak/keycloak.json
b/components/camel-keycloak/src/generated/resources/META-INF/org/apache/camel/component/keycloak/keycloak.json
index f48c75bd661a..b926979830fa 100644
---
a/components/camel-keycloak/src/generated/resources/META-INF/org/apache/camel/component/keycloak/keycloak.json
+++
b/components/camel-keycloak/src/generated/resources/META-INF/org/apache/camel/component/keycloak/keycloak.json
@@ -67,7 +67,7 @@
"CamelKeycloakUserEmail": { "index": 4, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
user email", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#USER_EMAIL" },
"CamelKeycloakUserFirstName": { "index": 5, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The user first name", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#USER_FIRST_NAME" },
"CamelKeycloakUserLastName": { "index": 6, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The user last name", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#USER_LAST_NAME" },
- "CamelKeycloakRoleId": { "index": 7, "kind": "header", "displayName": "",
"group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
role ID", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#ROLE_ID" },
+ "CamelKeycloakRoleId": { "index": 7, "kind": "header", "displayName": "",
"group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": true, "deprecationNote": "Never read by the component: the role
operations address a role by its name (CamelKeycloakRoleName)", "autowired":
false, "secret": false, "description": "The role ID. Deprecation note: Never
read by the component: the role operations address a role by its name
(CamelKeycloakRoleName)", "constantName [...]
"CamelKeycloakRoleName": { "index": 8, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
role name", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#ROLE_NAME" },
"CamelKeycloakRoleDescription": { "index": 9, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The role description", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#ROLE_DESCRIPTION" },
"CamelKeycloakGroupId": { "index": 10, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
group ID", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#GROUP_ID" },
@@ -84,21 +84,21 @@
"CamelKeycloakEventType": { "index": 21, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
event type (event or admin-event)", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#EVENT_TYPE" },
"CamelKeycloakEventId": { "index": 22, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "Long",
"deprecated": false, "autowired": false, "secret": false, "description": "The
event ID or timestamp", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#EVENT_ID" },
"CamelKeycloakIdpAlias": { "index": 23, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
identity provider alias", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#IDP_ALIAS" },
- "CamelKeycloakIdpId": { "index": 24, "kind": "header", "displayName": "",
"group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
identity provider ID", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#IDP_ID" },
+ "CamelKeycloakIdpId": { "index": 24, "kind": "header", "displayName": "",
"group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": true, "deprecationNote": "Never read by the component: the
identity provider operations address a provider by its alias
(CamelKeycloakIdpAlias)", "autowired": false, "secret": false, "description":
"The identity provider ID. Deprecation note: Never read by the component: the
identity provider operations address a provider by [...]
"CamelKeycloakResourceId": { "index": 25, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
resource ID", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#RESOURCE_ID" },
- "CamelKeycloakResourceName": { "index": 26, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The resource name", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#RESOURCE_NAME" },
- "CamelKeycloakResourceType": { "index": 27, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The resource type", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#RESOURCE_TYPE" },
- "CamelKeycloakResourceUri": { "index": 28, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The resource URI", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#RESOURCE_URI" },
+ "CamelKeycloakResourceName": { "index": 26, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": true, "deprecationNote": "Never read by the
component: createResource and updateResource take a ResourceRepresentation as
the POJO request body", "autowired": false, "secret": false, "description":
"The resource name. Deprecation note: Never read by the component:
createResource and updateResource take a ResourceRepres [...]
+ "CamelKeycloakResourceType": { "index": 27, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": true, "deprecationNote": "Never read by the
component: createResource and updateResource take a ResourceRepresentation as
the POJO request body", "autowired": false, "secret": false, "description":
"The resource type. Deprecation note: Never read by the component:
createResource and updateResource take a ResourceRepres [...]
+ "CamelKeycloakResourceUri": { "index": 28, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": true, "deprecationNote": "Never read by the
component: createResource and updateResource take a ResourceRepresentation as
the POJO request body", "autowired": false, "secret": false, "description":
"The resource URI. Deprecation note: Never read by the component:
createResource and updateResource take a ResourceRepresen [...]
"CamelKeycloakPolicyId": { "index": 29, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
policy ID", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#POLICY_ID" },
- "CamelKeycloakPolicyName": { "index": 30, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
policy name", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#POLICY_NAME" },
- "CamelKeycloakPolicyType": { "index": 31, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
policy type", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#POLICY_TYPE" },
+ "CamelKeycloakPolicyName": { "index": 30, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": true, "deprecationNote": "Never read by the component: the
resource policy operations take a PolicyRepresentation as the POJO request
body", "autowired": false, "secret": false, "description": "The policy name.
Deprecation note: Never read by the component: the resource policy operations
take a PolicyRepresentation as th [...]
+ "CamelKeycloakPolicyType": { "index": 31, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": true, "deprecationNote": "Never read by the component: the
resource policy operations take a PolicyRepresentation as the POJO request
body", "autowired": false, "secret": false, "description": "The policy type.
Deprecation note: Never read by the component: the resource policy operations
take a PolicyRepresentation as th [...]
"CamelKeycloakPermissionId": { "index": 32, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The permission ID", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#PERMISSION_ID" },
- "CamelKeycloakPermissionName": { "index": 33, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The permission name", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#PERMISSION_NAME" },
- "CamelKeycloakScopeName": { "index": 34, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
scope name", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#SCOPE_NAME" },
+ "CamelKeycloakPermissionName": { "index": 33, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": true, "deprecationNote": "Never read by the
component: createResourcePermission takes a ResourcePermissionRepresentation as
the POJO request body, and the other permission operations identify the
permission with CamelKeycloakPermissionId", "autowired": false, "secret":
false, "description": "The permission name. Depr [...]
+ "CamelKeycloakScopeName": { "index": 34, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": true, "deprecationNote": "Never read by the component: there are
no authorization-scope operations, and the client scope operations use
CamelKeycloakClientScopeName", "autowired": false, "secret": false,
"description": "The scope name. Deprecation note: Never read by the component:
there are no authorization-scope operati [...]
"CamelKeycloakAttributeName": { "index": 35, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The user attribute name", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#ATTRIBUTE_NAME" },
"CamelKeycloakAttributeValue": { "index": 36, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The user attribute value", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#ATTRIBUTE_VALUE" },
"CamelKeycloakCredentialId": { "index": 37, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The credential ID", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#CREDENTIAL_ID" },
- "CamelKeycloakCredentialType": { "index": 38, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The credential type", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#CREDENTIAL_TYPE" },
+ "CamelKeycloakCredentialType": { "index": 38, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": true, "deprecationNote": "Never read by the
component: no credential operation takes a CredentialRepresentation request
body. deleteUserCredential uses CamelKeycloakCredentialId, and
resetUserPassword builds a password credential from CamelKeycloakUserPassword",
"autowired": false, "secret": false, "description": "Th [...]
"CamelKeycloakRequiredAction": { "index": 39, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The required action type", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#REQUIRED_ACTION" },
"CamelKeycloakActions": { "index": 40, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType":
"java.util.List<String>", "deprecated": false, "autowired": false, "secret":
false, "description": "The list of actions to execute", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#ACTIONS" },
"CamelKeycloakRedirectUri": { "index": 41, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The redirect URI", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#REDIRECT_URI" },
@@ -108,7 +108,7 @@
"CamelKeycloakUsernames": { "index": 45, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType":
"java.util.List<String>", "deprecated": false, "autowired": false, "secret":
false, "description": "The list of usernames for bulk operations",
"constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#USERNAMES" },
"CamelKeycloakRoleNames": { "index": 46, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType":
"java.util.List<String>", "deprecated": false, "autowired": false, "secret":
false, "description": "The list of role names for bulk operations",
"constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#ROLE_NAMES" },
"CamelKeycloakContinueOnError": { "index": 47, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "Boolean", "deprecated": false, "autowired": false, "secret":
false, "description": "Continue on error during bulk operations",
"constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#CONTINUE_ON_ERROR" },
- "CamelKeycloakBatchSize": { "index": 48, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "Integer",
"deprecated": false, "autowired": false, "secret": false, "description": "Batch
size for bulk operations", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#BATCH_SIZE" },
+ "CamelKeycloakBatchSize": { "index": 48, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "Integer",
"deprecated": true, "deprecationNote": "Never read by the component: the bulk
operations send every element of the list one by one, with no batching",
"autowired": false, "secret": false, "description": "Batch size for bulk
operations. Deprecation note: Never read by the component: the bulk operations
send every element of the list on [...]
"CamelKeycloakAccessToken": { "index": 49, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The access token for permission evaluation", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#ACCESS_TOKEN" },
"CamelKeycloakToken": { "index": 50, "kind": "header", "displayName": "",
"group": "common", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
token for revocation or introspection", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#TOKEN" },
"CamelKeycloakTokenTypeHint": { "index": 51, "kind": "header",
"displayName": "", "group": "common", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The token type hint for revocation", "constantName":
"org.apache.camel.component.keycloak.KeycloakConstants#TOKEN_TYPE_HINT" },
diff --git
a/components/camel-keycloak/src/main/java/org/apache/camel/component/keycloak/KeycloakConstants.java
b/components/camel-keycloak/src/main/java/org/apache/camel/component/keycloak/KeycloakConstants.java
index 12949d97252e..80b5e6d4994e 100644
---
a/components/camel-keycloak/src/main/java/org/apache/camel/component/keycloak/KeycloakConstants.java
+++
b/components/camel-keycloak/src/main/java/org/apache/camel/component/keycloak/KeycloakConstants.java
@@ -44,7 +44,10 @@ public final class KeycloakConstants {
@Metadata(description = "The user last name", javaType = "String")
public static final String USER_LAST_NAME = "CamelKeycloakUserLastName";
- @Metadata(description = "The role ID", javaType = "String")
+ @Metadata(description = "The role ID", javaType = "String",
+ deprecationNote = "Never read by the component: the role
operations address a role by its name"
+ + " (CamelKeycloakRoleName)")
+ @Deprecated
public static final String ROLE_ID = "CamelKeycloakRoleId";
@Metadata(description = "The role name", javaType = "String")
@@ -96,38 +99,63 @@ public final class KeycloakConstants {
@Metadata(description = "The identity provider alias", javaType = "String")
public static final String IDP_ALIAS = "CamelKeycloakIdpAlias";
- @Metadata(description = "The identity provider ID", javaType = "String")
+ @Metadata(description = "The identity provider ID", javaType = "String",
+ deprecationNote = "Never read by the component: the identity
provider operations address a provider by its alias"
+ + " (CamelKeycloakIdpAlias)")
+ @Deprecated
public static final String IDP_ID = "CamelKeycloakIdpId";
// Authorization Services constants
@Metadata(description = "The resource ID", javaType = "String")
public static final String RESOURCE_ID = "CamelKeycloakResourceId";
- @Metadata(description = "The resource name", javaType = "String")
+ @Metadata(description = "The resource name", javaType = "String",
+ deprecationNote = "Never read by the component: createResource
and updateResource take a ResourceRepresentation"
+ + " as the POJO request body")
+ @Deprecated
public static final String RESOURCE_NAME = "CamelKeycloakResourceName";
- @Metadata(description = "The resource type", javaType = "String")
+ @Metadata(description = "The resource type", javaType = "String",
+ deprecationNote = "Never read by the component: createResource
and updateResource take a ResourceRepresentation"
+ + " as the POJO request body")
+ @Deprecated
public static final String RESOURCE_TYPE = "CamelKeycloakResourceType";
- @Metadata(description = "The resource URI", javaType = "String")
+ @Metadata(description = "The resource URI", javaType = "String",
+ deprecationNote = "Never read by the component: createResource
and updateResource take a ResourceRepresentation"
+ + " as the POJO request body")
+ @Deprecated
public static final String RESOURCE_URI = "CamelKeycloakResourceUri";
@Metadata(description = "The policy ID", javaType = "String")
public static final String POLICY_ID = "CamelKeycloakPolicyId";
- @Metadata(description = "The policy name", javaType = "String")
+ @Metadata(description = "The policy name", javaType = "String",
+ deprecationNote = "Never read by the component: the resource
policy operations take a PolicyRepresentation as the"
+ + " POJO request body")
+ @Deprecated
public static final String POLICY_NAME = "CamelKeycloakPolicyName";
- @Metadata(description = "The policy type", javaType = "String")
+ @Metadata(description = "The policy type", javaType = "String",
+ deprecationNote = "Never read by the component: the resource
policy operations take a PolicyRepresentation as the"
+ + " POJO request body")
+ @Deprecated
public static final String POLICY_TYPE = "CamelKeycloakPolicyType";
@Metadata(description = "The permission ID", javaType = "String")
public static final String PERMISSION_ID = "CamelKeycloakPermissionId";
- @Metadata(description = "The permission name", javaType = "String")
+ @Metadata(description = "The permission name", javaType = "String",
+ deprecationNote = "Never read by the component:
createResourcePermission takes a"
+ + " ResourcePermissionRepresentation as the
POJO request body, and the other permission"
+ + " operations identify the permission with
CamelKeycloakPermissionId")
+ @Deprecated
public static final String PERMISSION_NAME = "CamelKeycloakPermissionName";
- @Metadata(description = "The scope name", javaType = "String")
+ @Metadata(description = "The scope name", javaType = "String",
+ deprecationNote = "Never read by the component: there are no
authorization-scope operations, and the client"
+ + " scope operations use
CamelKeycloakClientScopeName")
+ @Deprecated
public static final String SCOPE_NAME = "CamelKeycloakScopeName";
// User Attribute constants
@@ -141,7 +169,11 @@ public final class KeycloakConstants {
@Metadata(description = "The credential ID", javaType = "String")
public static final String CREDENTIAL_ID = "CamelKeycloakCredentialId";
- @Metadata(description = "The credential type", javaType = "String")
+ @Metadata(description = "The credential type", javaType = "String",
+ deprecationNote = "Never read by the component: no credential
operation takes a CredentialRepresentation request"
+ + " body. deleteUserCredential uses
CamelKeycloakCredentialId, and resetUserPassword builds a"
+ + " password credential from
CamelKeycloakUserPassword")
+ @Deprecated
public static final String CREDENTIAL_TYPE = "CamelKeycloakCredentialType";
// User Action constants
@@ -174,7 +206,10 @@ public final class KeycloakConstants {
@Metadata(description = "Continue on error during bulk operations",
javaType = "Boolean")
public static final String CONTINUE_ON_ERROR =
"CamelKeycloakContinueOnError";
- @Metadata(description = "Batch size for bulk operations", javaType =
"Integer")
+ @Metadata(description = "Batch size for bulk operations", javaType =
"Integer",
+ deprecationNote = "Never read by the component: the bulk
operations send every element of the list one by one,"
+ + " with no batching")
+ @Deprecated
public static final String BATCH_SIZE = "CamelKeycloakBatchSize";
// Permission evaluation constants
diff --git
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_24.adoc
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_24.adoc
index 2eb785749a2b..58f5e7609422 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_24.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_24.adoc
@@ -9282,6 +9282,44 @@ If your offsets can go stale, note that by default
(without `moveFailed`) the fa
offset from the resume store and fails again. Clear or reset the recorded
offset for that file - or delete the resume
store entry - to let it be consumed from the start again.
+=== camel-keycloak - 11 documented headers are deprecated
+
+Eleven of the headers the component documents are never read by it. A route
that sets one gets no error and no effect,
+because the producer takes the value from somewhere else:
+
+[cols="1,1"]
+|===
+| Header | Where the value comes from instead
+
+| `CamelKeycloakRoleId`
+| the role operations address a role by its name, `CamelKeycloakRoleName`
+
+| `CamelKeycloakIdpId`
+| the identity provider operations address a provider by its alias,
`CamelKeycloakIdpAlias`
+
+| `CamelKeycloakResourceName`, `CamelKeycloakResourceType`,
`CamelKeycloakResourceUri`
+| `createResource` and `updateResource` take a `ResourceRepresentation` as the
POJO request body
+
+| `CamelKeycloakPolicyName`, `CamelKeycloakPolicyType`
+| the policy operations take a `PolicyRepresentation` as the POJO request body
+
+| `CamelKeycloakPermissionName`
+| `createResourcePermission` takes a `ResourcePermissionRepresentation`, and
the other permission operations identify
+the permission with `CamelKeycloakPermissionId`
+
+| `CamelKeycloakScopeName`
+| there are no authorization-scope operations; the client scope operations use
`CamelKeycloakClientScopeName`
+
+| `CamelKeycloakCredentialType`
+| no credential operation takes a `CredentialRepresentation` request body:
`deleteUserCredential` uses
+`CamelKeycloakCredentialId`, and `resetUserPassword` builds a password
credential from `CamelKeycloakUserPassword`
+
+| `CamelKeycloakBatchSize`
+| the bulk operations send every element of the list one by one, with no
batching
+|===
+
+Each is now deprecated, with a `deprecationNote` carrying the same information.
+
=== camel-docker - the loggingFilter and followRedirectFilter options are
deprecated
Neither option has had any effect since Camel 2.18, when the docker-java 3.x
upgrade removed the
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KeycloakEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KeycloakEndpointBuilderFactory.java
index 0cf72c1b2213..55e37fc00e97 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KeycloakEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KeycloakEndpointBuilderFactory.java
@@ -2700,7 +2700,8 @@ public interface KeycloakEndpointBuilderFactory {
return "CamelKeycloakUserLastName";
}
/**
- * The role ID.
+ * The role ID. Deprecation note: Never read by the component: the role
+ * operations address a role by its name (CamelKeycloakRoleName).
*
* The option is a: {@code String} type.
*
@@ -2708,6 +2709,7 @@ public interface KeycloakEndpointBuilderFactory {
*
* @return the name of the header {@code KeycloakRoleId}.
*/
+ @Deprecated
public String keycloakRoleId() {
return "CamelKeycloakRoleId";
}
@@ -2904,7 +2906,9 @@ public interface KeycloakEndpointBuilderFactory {
return "CamelKeycloakIdpAlias";
}
/**
- * The identity provider ID.
+ * The identity provider ID. Deprecation note: Never read by the
+ * component: the identity provider operations address a provider by
its
+ * alias (CamelKeycloakIdpAlias).
*
* The option is a: {@code String} type.
*
@@ -2912,6 +2916,7 @@ public interface KeycloakEndpointBuilderFactory {
*
* @return the name of the header {@code KeycloakIdpId}.
*/
+ @Deprecated
public String keycloakIdpId() {
return "CamelKeycloakIdpId";
}
@@ -2928,7 +2933,9 @@ public interface KeycloakEndpointBuilderFactory {
return "CamelKeycloakResourceId";
}
/**
- * The resource name.
+ * The resource name. Deprecation note: Never read by the component:
+ * createResource and updateResource take a ResourceRepresentation as
+ * the POJO request body.
*
* The option is a: {@code String} type.
*
@@ -2936,11 +2943,14 @@ public interface KeycloakEndpointBuilderFactory {
*
* @return the name of the header {@code KeycloakResourceName}.
*/
+ @Deprecated
public String keycloakResourceName() {
return "CamelKeycloakResourceName";
}
/**
- * The resource type.
+ * The resource type. Deprecation note: Never read by the component:
+ * createResource and updateResource take a ResourceRepresentation as
+ * the POJO request body.
*
* The option is a: {@code String} type.
*
@@ -2948,11 +2958,14 @@ public interface KeycloakEndpointBuilderFactory {
*
* @return the name of the header {@code KeycloakResourceType}.
*/
+ @Deprecated
public String keycloakResourceType() {
return "CamelKeycloakResourceType";
}
/**
- * The resource URI.
+ * The resource URI. Deprecation note: Never read by the component:
+ * createResource and updateResource take a ResourceRepresentation as
+ * the POJO request body.
*
* The option is a: {@code String} type.
*
@@ -2960,6 +2973,7 @@ public interface KeycloakEndpointBuilderFactory {
*
* @return the name of the header {@code KeycloakResourceUri}.
*/
+ @Deprecated
public String keycloakResourceUri() {
return "CamelKeycloakResourceUri";
}
@@ -2976,7 +2990,9 @@ public interface KeycloakEndpointBuilderFactory {
return "CamelKeycloakPolicyId";
}
/**
- * The policy name.
+ * The policy name. Deprecation note: Never read by the component: the
+ * resource policy operations take a PolicyRepresentation as the POJO
+ * request body.
*
* The option is a: {@code String} type.
*
@@ -2984,11 +3000,14 @@ public interface KeycloakEndpointBuilderFactory {
*
* @return the name of the header {@code KeycloakPolicyName}.
*/
+ @Deprecated
public String keycloakPolicyName() {
return "CamelKeycloakPolicyName";
}
/**
- * The policy type.
+ * The policy type. Deprecation note: Never read by the component: the
+ * resource policy operations take a PolicyRepresentation as the POJO
+ * request body.
*
* The option is a: {@code String} type.
*
@@ -2996,6 +3015,7 @@ public interface KeycloakEndpointBuilderFactory {
*
* @return the name of the header {@code KeycloakPolicyType}.
*/
+ @Deprecated
public String keycloakPolicyType() {
return "CamelKeycloakPolicyType";
}
@@ -3012,7 +3032,10 @@ public interface KeycloakEndpointBuilderFactory {
return "CamelKeycloakPermissionId";
}
/**
- * The permission name.
+ * The permission name. Deprecation note: Never read by the component:
+ * createResourcePermission takes a ResourcePermissionRepresentation as
+ * the POJO request body, and the other permission operations identify
+ * the permission with CamelKeycloakPermissionId.
*
* The option is a: {@code String} type.
*
@@ -3020,11 +3043,14 @@ public interface KeycloakEndpointBuilderFactory {
*
* @return the name of the header {@code KeycloakPermissionName}.
*/
+ @Deprecated
public String keycloakPermissionName() {
return "CamelKeycloakPermissionName";
}
/**
- * The scope name.
+ * The scope name. Deprecation note: Never read by the component: there
+ * are no authorization-scope operations, and the client scope
+ * operations use CamelKeycloakClientScopeName.
*
* The option is a: {@code String} type.
*
@@ -3032,6 +3058,7 @@ public interface KeycloakEndpointBuilderFactory {
*
* @return the name of the header {@code KeycloakScopeName}.
*/
+ @Deprecated
public String keycloakScopeName() {
return "CamelKeycloakScopeName";
}
@@ -3072,7 +3099,11 @@ public interface KeycloakEndpointBuilderFactory {
return "CamelKeycloakCredentialId";
}
/**
- * The credential type.
+ * The credential type. Deprecation note: Never read by the component:
+ * no credential operation takes a CredentialRepresentation request
+ * body. deleteUserCredential uses CamelKeycloakCredentialId, and
+ * resetUserPassword builds a password credential from
+ * CamelKeycloakUserPassword.
*
* The option is a: {@code String} type.
*
@@ -3080,6 +3111,7 @@ public interface KeycloakEndpointBuilderFactory {
*
* @return the name of the header {@code KeycloakCredentialType}.
*/
+ @Deprecated
public String keycloakCredentialType() {
return "CamelKeycloakCredentialType";
}
@@ -3194,7 +3226,9 @@ public interface KeycloakEndpointBuilderFactory {
return "CamelKeycloakContinueOnError";
}
/**
- * Batch size for bulk operations.
+ * Batch size for bulk operations. Deprecation note: Never read by the
+ * component: the bulk operations send every element of the list one by
+ * one, with no batching.
*
* The option is a: {@code Integer} type.
*
@@ -3202,6 +3236,7 @@ public interface KeycloakEndpointBuilderFactory {
*
* @return the name of the header {@code KeycloakBatchSize}.
*/
+ @Deprecated
public String keycloakBatchSize() {
return "CamelKeycloakBatchSize";
}