From 6c3a3517b8e918be012486d16b337823f8f080fe Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Fri, 13 Nov 2015 09:03:58 +0100 Subject: [PATCH] KEYCLOAK-2037 Update documentation --- .../en/en-US/modules/server-installation.xml | 34 +++---------------- 1 file changed, 5 insertions(+), 29 deletions(-) diff --git a/docbook/auth-server-docs/reference/en/en-US/modules/server-installation.xml b/docbook/auth-server-docs/reference/en/en-US/modules/server-installation.xml index 549bc84bc8..78d9a4b3d6 100755 --- a/docbook/auth-server-docs/reference/en/en-US/modules/server-installation.xml +++ b/docbook/auth-server-docs/reference/en/en-US/modules/server-installation.xml @@ -818,44 +818,20 @@ $ keytool -import -alias yourdomain -keystore keycloak.jks -file your-certificat
- Adding Keycloak server in Domain Mode + Keycloak server in Domain Mode In domain mode, you start the server with the "domain" command instead of the "standalone" command. In this case, the Keycloak subsystem is defined in domain/configuration/domain.xml instead of standalone/configuration.standalone.xml. Inside domain.xml, you will see more than one - profile. A Keycloak subsystem can be defined in zero or more of those profiles. + profile. The Keycloak subsystem is defined for all initial profiles. - To enable Keycloak for a server profile edit domain/configuration/domain.xml. To the extensions - element add the Keycloak extension: - - ... - - -]]> - Then you need to add the server to the required server profiles. By default WildFly starts two servers - in the main-server-group which uses the full profile. To add Keycloak for this profile add the Keycloak - subsystem to the profile element with name full: - - ... - - - true - auth - - -]]> + THe server is also added to server profiles. By default two servers are started + in the main-server-group which uses the full profile. - To configure the server copy standalone/configuration/keycloak-server.json to - domain/servers/<SERVER NAME>/configuration. The configuration should be identical + You need to make sure domain/servers/<SERVER NAME>/configuration is identical for all servers in a group. - - Follow the Clustering section of the documentation to configure Keycloak - for clustering. In domain mode it doesn't make much sense to not configure Keycloak in cluster mode. - To deploy custom providers and themes you should deploys these as modules and make sure the modules are available to all servers in the group. See Providers and