X4 Produktdokumentation

Keycloak Token

This adapter returns a Keycloak token for a user by logging on and off Keycloak with the user and password.

Properties


Operation

Operation performed by the adapter

Possible values:

  • Get Token - Request token

Parameters


Adapter

Main class of the adapter (do not change!)

Possible values: de.softproject.x4.auth.keycloak.KeycloakTokenAdapter: Main class (Default)

userName

User name (required)

password

User's password (required)

realm

Range used in Keycloak REST API calls (optional).

clientId

Client ID for Keyloak REST API authentication (optional).

clientSecret

Keycloak REST API authentication secret client key (optional).


Status values

1

The adapter operation was executed successfully

-1

An error occurred while running the adapter.


For documentation of the REST interface, see http://localhost:8080/X4/X4Api/.