Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Import CEDAR Theme and Realm on RHEL 6.6

Attila Levente EGYEDI edited this page Apr 5, 2017 · 6 revisions

Stop Keycloak

You can kill Keycloak with the alias killkk.

Import CEDAR Theme

Copy the CEDAR theme from the CEDAR configuration directory to the Keycloak themes directory as follows:

goutil
cp -a keycloak/standalone/configuration/themes/* $KEYCLOAK_HOME/standalone/configuration/themes/

Import CEDAR Realm

Go to the directory where the configuration data is located:

goconf
cd keycloak/realms

And import the Keycloak realm as follows:

$KEYCLOAK_HOME/bin/standalone.sh -Dkeycloak.migration.action=import \
-Dkeycloak.migration.provider=singleFile \
-Dkeycloak.migration.file=keycloak-realm.CEDAR.metadatacenter.net.json \
-Dkeycloak.migration.strategy=IGNORE_EXISTING

Stop the Keycloak server if it is running using the killkk alias.

Start the Keycloak server in standalone mode:

startkk
Clone this wiki locally