Skip to content

Commit

Permalink
Merge pull request #388 from jfdenise/keycloak_saml_module_name
Browse files Browse the repository at this point in the history
Fix for Issue #387, keycloak SAML automatic registration uses wrong JBoss Modules module name
  • Loading branch information
jfdenise authored Aug 23, 2023
2 parents e8e04a8 + 14d204c commit 3c6e78a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jboss/container/wildfly/launch/keycloak/2.0/added/keycloak.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ function configure_SAML_elytron() {
id=$1
cli="
if (outcome != success) of /subsystem=elytron/custom-realm=KeycloakSAMLRealm-$id:read-resource
/subsystem=elytron/custom-realm=KeycloakSAMLRealm-$id:add(class-name=org.keycloak.adapters.saml.elytron.KeycloakSecurityRealm, module=org.keycloak.keycloak-saml-wildfly-elytron-adapter)
/subsystem=elytron/custom-realm=KeycloakSAMLRealm-$id:add(class-name=org.keycloak.adapters.saml.elytron.KeycloakSecurityRealm, module=org.keycloak.keycloak-saml-wildfly-elytron-jakarta-adapter)
else
echo Keycloak SAML Realm already installed >> \${warning_file}
end-if
Expand All @@ -249,7 +249,7 @@ else
end-if
if (outcome != success) of /subsystem=elytron/service-loader-http-server-mechanism-factory=keycloak-saml-http-server-mechanism-factory-$id:read-resource
/subsystem=elytron/service-loader-http-server-mechanism-factory=keycloak-saml-http-server-mechanism-factory-$id:add(module=org.keycloak.keycloak-saml-wildfly-elytron-adapter)
/subsystem=elytron/service-loader-http-server-mechanism-factory=keycloak-saml-http-server-mechanism-factory-$id:add(module=org.keycloak.keycloak-saml-wildfly-elytron-jakarta-adapter)
else
echo Keycloak SAML HTTP Mechanism Factory already installed >> \${warning_file}
end-if
Expand Down

0 comments on commit 3c6e78a

Please sign in to comment.