KEYCLOAK-5802 fix install-adapters.sh script for wildfly10 and below
This commit is contained in:
parent
7b03eed9c8
commit
6bb04617a6
3 changed files with 8 additions and 1 deletions
|
@ -0,0 +1,5 @@
|
||||||
|
if (result == success) of /subsystem=elytron/:read-resource
|
||||||
|
echo Removing Elytron subsystem
|
||||||
|
/subsystem=elytron/:remove
|
||||||
|
echo
|
||||||
|
end-if
|
|
@ -25,9 +25,10 @@ do
|
||||||
./jboss-cli.sh -c --file="adapter-install.cli"
|
./jboss-cli.sh -c --file="adapter-install.cli"
|
||||||
|
|
||||||
if [ "$ELYTRON_SUPPORTED" = true ]; then
|
if [ "$ELYTRON_SUPPORTED" = true ]; then
|
||||||
|
echo "Installing elytron adapter."
|
||||||
./jboss-cli.sh -c --file="adapter-elytron-install.cli"
|
./jboss-cli.sh -c --file="adapter-elytron-install.cli"
|
||||||
else
|
else
|
||||||
./jboss-cli.sh -c --command="/subsystem=elytron:remove"
|
./jboss-cli.sh -c --file="$CLI_PATH/remove-elytron-subsystem.cli"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then RESULT=1; fi
|
if [ $? -ne 0 ]; then RESULT=1; fi
|
||||||
|
|
|
@ -226,6 +226,7 @@
|
||||||
<JBOSS_HOME>${app.server.jboss.home}</JBOSS_HOME>
|
<JBOSS_HOME>${app.server.jboss.home}</JBOSS_HOME>
|
||||||
<SAML_SUPPORTED>${app.server.saml.adapter.supported}</SAML_SUPPORTED>
|
<SAML_SUPPORTED>${app.server.saml.adapter.supported}</SAML_SUPPORTED>
|
||||||
<ELYTRON_SUPPORTED>${app.server.elytron.adapter.supported}</ELYTRON_SUPPORTED>
|
<ELYTRON_SUPPORTED>${app.server.elytron.adapter.supported}</ELYTRON_SUPPORTED>
|
||||||
|
<CLI_PATH>${common.resources}/cli</CLI_PATH>
|
||||||
</environmentVariables>
|
</environmentVariables>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
Loading…
Reference in a new issue