Doc update for KEYCLOAK-4108
This commit is contained in:
parent
d0a04952ab
commit
99951191e9
1 changed files with 23 additions and 25 deletions
|
@ -2,7 +2,7 @@
|
||||||
[[_jetty9_adapter]]
|
[[_jetty9_adapter]]
|
||||||
==== Jetty 9.x Adapters
|
==== Jetty 9.x Adapters
|
||||||
|
|
||||||
Keycloak has a separate adapter for Jetty 9.1.x and Jetty 9.2.x that you will have to install into your Jetty installation.
|
Keycloak has a separate adapter for Jetty 9.1.x, Jetty 9.2.x and Jetty 9.3.x that you will have to install into your Jetty installation.
|
||||||
You then have to provide some extra configuration in each WAR you deploy to Jetty.
|
You then have to provide some extra configuration in each WAR you deploy to Jetty.
|
||||||
Let's go over these steps.
|
Let's go over these steps.
|
||||||
|
|
||||||
|
@ -12,24 +12,22 @@ Let's go over these steps.
|
||||||
Adapters are no longer included with the appliance or war distribution.Each adapter is a separate download on the Keycloak download site.
|
Adapters are no longer included with the appliance or war distribution.Each adapter is a separate download on the Keycloak download site.
|
||||||
They are also available as a maven artifact.
|
They are also available as a maven artifact.
|
||||||
|
|
||||||
You must unzip the Jetty 9.x distro into Jetty 9.x's root directory.
|
You must unzip the Jetty 9.x distro into Jetty 9.x's link:https://www.eclipse.org/jetty/documentation/current/startup-base-and-home.html[base directory.]
|
||||||
Including adapter's jars within your WEB-INF/lib directory will not work!
|
Including adapter's jars within your WEB-INF/lib directory will not work!
|
||||||
|
In the example below, the Jetty base is named `your-base`:
|
||||||
|
|
||||||
[source]
|
|
||||||
----
|
|
||||||
|
|
||||||
$ cd $JETTY_HOME
|
|
||||||
$ unzip keycloak-jetty92-adapter-dist.zip
|
|
||||||
----
|
|
||||||
|
|
||||||
Next, you will have to enable the keycloak module for your jetty.base.
|
|
||||||
|
|
||||||
|
|
||||||
[source]
|
[source]
|
||||||
----
|
----
|
||||||
|
|
||||||
$ cd your-base
|
$ cd your-base
|
||||||
|
$ unzip keycloak-jetty93-adapter-dist-2.5.0.Final.zip
|
||||||
|
----
|
||||||
|
|
||||||
|
Next, you will have to enable the `keycloak` module for your Jetty base:
|
||||||
|
|
||||||
|
[source]
|
||||||
|
----
|
||||||
|
|
||||||
$ java -jar $JETTY_HOME/start.jar --add-to-startd=keycloak
|
$ java -jar $JETTY_HOME/start.jar --add-to-startd=keycloak
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue