From 72852857ab367df5240f5a33bd1d9c1607f6047a Mon Sep 17 00:00:00 2001 From: Peter Skopek Date: Fri, 31 May 2019 00:10:15 +0200 Subject: [PATCH] [KEYCLOAK-10338] Securing Applications and Services Guide is missing adapter installation on RHEL8 --- .../topics/oidc/java/jboss-adapter-rpms.adoc | 20 ++++++++++++++++--- .../jboss-adapter/jboss-adapter-rpms.adoc | 16 ++++++++++++++- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/securing_apps/topics/oidc/java/jboss-adapter-rpms.adoc b/securing_apps/topics/oidc/java/jboss-adapter-rpms.adoc index f9368e3fe1..7ec5f21caf 100644 --- a/securing_apps/topics/oidc/java/jboss-adapter-rpms.adoc +++ b/securing_apps/topics/oidc/java/jboss-adapter-rpms.adoc @@ -5,7 +5,7 @@ Install the EAP 7 Adapters from an RPM: NOTE: With Red Hat Enterprise Linux 7, the term channel was replaced with the term repository. In these instructions only the term repository is used. -You must subscribe to the JBoss EAP 7.2 repository before you can install the EAP 7 adapters from an RPM. +You must subscribe to the {appserver_name} {appserver_version} repository before you can install the {appserver_name} 7 adapters from an RPM. .Prerequisites @@ -13,18 +13,32 @@ You must subscribe to the JBoss EAP 7.2 repository before you can install the EA . If you are already subscribed to another JBoss EAP repository, you must unsubscribe from that repository first. -Using Red Hat Subscription Manager, subscribe to the JBoss EAP 7.2 repository using the following command. Replace with either 6 or 7 depending on your Red Hat Enterprise Linux version. +For Red Hat Enterprise Linux 6, 7: Using Red Hat Subscription Manager, subscribe to the {appserver_name} {appserver_version} repository using the following command. Replace with either 6 or 7 depending on your Red Hat Enterprise Linux version. +[source,bash,subs="attributes+"] ---- $ sudo subscription-manager repos --enable=jb-eap-7-for-rhel--server-rpms ---- -Install the EAP 7 adapters for OIDC using the following command: +For Red Hat Enterprise Linux 8: Using Red Hat Subscription Manager, subscribe to the {appserver_name} {appserver_version} repository using the following command: + +[source,bash,subs="attributes+"] +---- +$ sudo subscription-manager repos --enable=jb-eap-{appserver_version}-for-rhel-8-x86_64-rpms --enable=rhel-8-for-x86_64-baseos-rpms --enable=rhel-8-for-x86_64-appstream-rpms +---- + +Install the {appserver_name} 7 adapters for OIDC using the following command at Red Hat Enterprise Linux 6, 7: ---- $ sudo yum install eap7-keycloak-adapter-sso7_3 ---- +or use following one for Red Hat Red Hat Enterprise Linux 8: + +---- +$ sudo dnf install eap7-keycloak-adapter-sso7_3 +---- + NOTE: The default EAP_HOME path for the RPM installation is /opt/rh/eap7/root/usr/share/wildfly. Run the appropriate module installation script. diff --git a/securing_apps/topics/saml/java/jboss-adapter/jboss-adapter-rpms.adoc b/securing_apps/topics/saml/java/jboss-adapter/jboss-adapter-rpms.adoc index 25b02270ff..247f43ea93 100644 --- a/securing_apps/topics/saml/java/jboss-adapter/jboss-adapter-rpms.adoc +++ b/securing_apps/topics/saml/java/jboss-adapter/jboss-adapter-rpms.adoc @@ -13,18 +13,32 @@ You must subscribe to the JBoss EAP 7 repository before you can install the EAP . If you are already subscribed to another JBoss EAP repository, you must unsubscribe from that repository first. -Using Red Hat Subscription Manager, subscribe to the JBoss EAP 7 repository using the following command. Replace with either 6 or 7 depending on your Red Hat Enterprise Linux version. +For Red Hat Enterprise Linux 6, 7: Using Red Hat Subscription Manager, subscribe to the {appserver_name} {appserver_version} repository using the following command. Replace with either 6 or 7 depending on your Red Hat Enterprise Linux version. +[source,bash,subs="attributes+"] ---- $ sudo subscription-manager repos --enable=jb-eap-7-for-rhel--server-rpms ---- +For Red Hat Enterprise Linux 8: Using Red Hat Subscription Manager, subscribe to the {appserver_name} {appserver_version} repository using the following command: + +[source,bash,subs="attributes+"] +---- +$ sudo subscription-manager repos --enable=jb-eap-{appserver_version}-for-rhel-8-x86_64-rpms --enable=rhel-8-for-x86_64-baseos-rpms --enable=rhel-8-for-x86_64-appstream-rpms +---- + Install the EAP 7 adapters for SAML using the following command: ---- $ sudo yum install eap7-keycloak-saml-adapter-sso7_3 ---- +or use following one for Red Hat Red Hat Enterprise Linux 8: + +---- +$ sudo dnf install eap7-keycloak-adapter-sso7_3 +---- + NOTE: The default EAP_HOME path for the RPM installation is /opt/rh/eap7/root/usr/share/wildfly. Run the appropriate module installation script.