2016-05-11 02:48:33 +00:00
2020-07-20 21:00:52 +00:00
[id="installing-client-adapter_{context}"]
= Installing the {appserver_name} client adapter
2016-05-11 02:48:33 +00:00
2020-06-18 01:54:58 +00:00
When {appserver_name} and {project_name} are installed on the same machine, {appserver_name} requires some modification. To make this modification, you install a {project_name} client adapter.
2016-06-09 08:14:10 +00:00
2020-06-18 01:54:58 +00:00
.Prerequisites
* {appserver_name} is installed.
* You have a backup of the `../standalone/configuration/standalone.xml` file if you have customized this file.
.Procedure
2017-08-28 12:50:14 +00:00
ifeval::[{project_community}==true]
2020-06-18 01:54:58 +00:00
. Download the *WildFly OpenID Connect Client Adapter* distribution from link:https://www.keycloak.org/downloads.html[keycloak.org].
2017-08-28 12:50:14 +00:00
endif::[]
2016-06-09 08:14:10 +00:00
2017-08-28 12:50:14 +00:00
ifeval::[{project_product}==true]
2020-06-18 01:54:58 +00:00
. Download the *Client Adapter for EAP 7* from the https://access.redhat.com/jbossnetwork/restricted/listSoftware.html?downloadType=distributions&product=core.service.rhsso[Red Hat customer portal].
2017-08-28 12:50:14 +00:00
endif::[]
2016-06-09 08:14:10 +00:00
2020-06-18 01:54:58 +00:00
. Change to the root directory of {appserver_name}.
2016-06-09 08:14:10 +00:00
2020-07-06 19:39:05 +00:00
. Unzip the downloaded client adapter in this directory. For example:
2020-06-18 01:54:58 +00:00
+
[source,bash,subs=+attributes]
----
$ unzip <filename>.zip
----
2016-05-11 02:48:33 +00:00
2020-06-18 01:54:58 +00:00
. Change to the bin directory.
+
2018-12-13 18:39:35 +00:00
[source,bash,subs=+attributes]
----
$ cd bin
2020-06-18 01:54:58 +00:00
----
. Run the appropriate script for your platform.
+
[NOTE]
====
If you receive a `file not found`, make sure that you used `unzip` in the previous step. This method of extraction installs the files in the right place.
====
ifeval::[{project_product}==true]
+
.Linux/Unix
[source,bash,subs=+attributes]
----
$ ./jboss-cli.sh --file=adapter-elytron-install-offline.cli
----
+
.Windows
[source,bash,subs=+attributes]
----
> jboss-cli.bat --file=adapter-elytron-install-offline.cli
----
endif::[]
ifeval::[{project_community}==true]
+
.WildFly 10 on Linux/Unix
[source,bash,subs=+attributes]
----
2018-12-13 18:39:35 +00:00
$ ./jboss-cli.sh --file=adapter-install-offline.cli
----
2020-06-18 01:54:58 +00:00
+
.WildFly 10 on Windows
2018-12-13 18:39:35 +00:00
[source,bash,subs=+attributes]
----
> jboss-cli.bat --file=adapter-install-offline.cli
----
2020-06-18 01:54:58 +00:00
+
.Wildfly 11 on Linux/Unix
2018-12-13 18:39:35 +00:00
[source,bash,subs=+attributes]
----
$ ./jboss-cli.sh --file=adapter-elytron-install-offline.cli
----
2020-06-18 01:54:58 +00:00
+
.Wildfly 11 on Windows
2018-12-13 18:39:35 +00:00
[source,bash,subs=+attributes]
----
> jboss-cli.bat --file=adapter-elytron-install-offline.cli
----
endif::[]
2020-06-18 01:54:58 +00:00
+
[NOTE]
====
This script makes the necessary edits to the `.../standalone/configuration/standalone.xml` file.
====
. Start the application server.
+
.Linux/Unix
[source,bash,subs=+attributes]
----
$ ./standalone.sh
----
+
.Windows
[source,bash,subs=+attributes]
----
> ...\standalone.bat
----