From 8022a745658ffc14c07991413262db6794448838 Mon Sep 17 00:00:00 2001 From: Vlasta Ramik Date: Thu, 3 May 2018 19:50:36 +0200 Subject: [PATCH] KEYCLOAK-7274 Hardcoded config in offline adapter installation scripts (#5184) --- .../wildfly-adapter/cli/adapter-elytron-install-offline.cli | 2 +- .../adapters/wildfly-adapter/cli/adapter-install-offline.cli | 2 +- .../shared-cli/adapter-elytron-install-saml-offline.cli | 2 +- .../saml-adapters/shared-cli/adapter-install-saml-offline.cli | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/distribution/adapters/wildfly-adapter/cli/adapter-elytron-install-offline.cli b/distribution/adapters/wildfly-adapter/cli/adapter-elytron-install-offline.cli index 76ec08cb17..152c45a440 100644 --- a/distribution/adapters/wildfly-adapter/cli/adapter-elytron-install-offline.cli +++ b/distribution/adapters/wildfly-adapter/cli/adapter-elytron-install-offline.cli @@ -1,4 +1,4 @@ -embed-server --server-config=standalone.xml +embed-server --server-config=${server.config:standalone.xml} if (outcome != success) of /extension=org.keycloak.keycloak-adapter-subsystem:read-resource /extension=org.keycloak.keycloak-adapter-subsystem/:add(module=org.keycloak.keycloak-adapter-subsystem) diff --git a/distribution/adapters/wildfly-adapter/cli/adapter-install-offline.cli b/distribution/adapters/wildfly-adapter/cli/adapter-install-offline.cli index 8b55142e11..5243b2d246 100644 --- a/distribution/adapters/wildfly-adapter/cli/adapter-install-offline.cli +++ b/distribution/adapters/wildfly-adapter/cli/adapter-install-offline.cli @@ -1,4 +1,4 @@ -embed-server --server-config=standalone.xml +embed-server --server-config=${server.config:standalone.xml} /subsystem=security/security-domain=keycloak/:add /subsystem=security/security-domain=keycloak/authentication=classic/:add(login-modules=[{ "code" => "org.keycloak.adapters.jboss.KeycloakLoginModule","flag" => "required"}]) /extension=org.keycloak.keycloak-adapter-subsystem/:add(module=org.keycloak.keycloak-adapter-subsystem) diff --git a/distribution/saml-adapters/shared-cli/adapter-elytron-install-saml-offline.cli b/distribution/saml-adapters/shared-cli/adapter-elytron-install-saml-offline.cli index 486defe0fe..8444fce609 100755 --- a/distribution/saml-adapters/shared-cli/adapter-elytron-install-saml-offline.cli +++ b/distribution/saml-adapters/shared-cli/adapter-elytron-install-saml-offline.cli @@ -1,4 +1,4 @@ -embed-server --server-config=standalone.xml +embed-server --server-config=${server.config:standalone.xml} if (outcome != success) of /extension=org.keycloak.keycloak-saml-adapter-subsystem:read-resource /extension=org.keycloak.keycloak-saml-adapter-subsystem/:add(module=org.keycloak.keycloak-saml-adapter-subsystem) diff --git a/distribution/saml-adapters/shared-cli/adapter-install-saml-offline.cli b/distribution/saml-adapters/shared-cli/adapter-install-saml-offline.cli index 7075bad031..8c3ca4ca58 100755 --- a/distribution/saml-adapters/shared-cli/adapter-install-saml-offline.cli +++ b/distribution/saml-adapters/shared-cli/adapter-install-saml-offline.cli @@ -1,3 +1,3 @@ -embed-server --server-config=standalone.xml +embed-server --server-config=${server.config:standalone.xml} /extension=org.keycloak.keycloak-saml-adapter-subsystem/:add(module=org.keycloak.keycloak-saml-adapter-subsystem) /subsystem=keycloak-saml:add \ No newline at end of file