From 7d26b245de221857877305713e627d5f31fabe6a Mon Sep 17 00:00:00 2001 From: Patrick Zeller Date: Mon, 3 May 2021 18:04:13 +0200 Subject: [PATCH] KEYCLOAK-17947 Propagate security domain to ejb same fix as in https://github.com/keycloak/keycloak/pull/5977 just for the offline installer --- .../wildfly-adapter/cli/adapter-elytron-install-offline.cli | 6 ++++++ 1 file changed, 6 insertions(+) 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 152c45a440..b4ca831c91 100644 --- a/distribution/adapters/wildfly-adapter/cli/adapter-elytron-install-offline.cli +++ b/distribution/adapters/wildfly-adapter/cli/adapter-elytron-install-offline.cli @@ -56,4 +56,10 @@ if (outcome != success) of /subsystem=undertow/application-security-domain=other /subsystem=undertow/application-security-domain=other:add(http-authentication-factory=keycloak-http-authentication) else echo Undertow already configured with Keycloak +end-if + +if (outcome != success) of /subsystem=ejb3/application-security-domain=other:read-resource + /subsystem=ejb3/application-security-domain=other:add(security-domain=KeycloakDomain) +else + echo EJB already configured with Keycloak end-if \ No newline at end of file