AI Auth Adapter: Functions and Operations
This adapter provides access tokens generated by Keycloak to the AI backend. Users configure an X4 server (host/port/protocol) and provide a valid Keycloak ID and a Keycloak client secret for integration.
Properties
| Defines the operation executed by the adapter. Possible values:
|
Parameters
| Main adapter class (do not change!) Possible values: de.softproject.integration.nativeadapter.NativeAdapter: Main class (default) |
| The virtual repository of the adapter project Possible values:
|
| Used Keycloak protocol (HTTP or HTTPS) Possible values:
|
| Name of the Keycloak host Possible values: Any valid character string without protocol specification (e.g. |
| Number of the Keycloak port Possible values: Any integer (e.g. |
| Name of the Keycloak path preceded by a backslash Possible values: Any valid string (e.g. |
| Keycloak realm Possible values: Any valid Keycloak realm (e.g. |
| Keycloak client ID Possible values: Any valid Keycloak client ID (e,g. |
| Keycloak client secret Possible values: Any valid client secret from Keycloak that can be retrieved in the realm under Client > [Client ID] > Credentials |
Status values
| The operation was executed successfully. |
| The operation was executed successfully, but without result. |
| The operation failed due to a technical error. |
Input
The adapter does not expect any input.
Output
The adapter generates an XML document as output:
<accessToken>token_here</accessToken>
The following element is included in the output:
Element | Description |
|---|---|
| Contains the access token generated by the adapter. |