From 2db51279f0c75191f6b00afa51cfd412b4bdf8e0 Mon Sep 17 00:00:00 2001 From: Jen Malloy Date: Fri, 31 Mar 2017 13:34:16 -0400 Subject: [PATCH] Fixed RHSSO-920 --- .../topics/enforcer/js-adapter.adoc | 2 +- .../topics/getting-started/overview.adoc | 15 +++++---------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/authorization_services/topics/enforcer/js-adapter.adoc b/authorization_services/topics/enforcer/js-adapter.adoc index eba64feda3..9129b82a49 100755 --- a/authorization_services/topics/enforcer/js-adapter.adoc +++ b/authorization_services/topics/enforcer/js-adapter.adoc @@ -7,7 +7,7 @@ This library is based on the {{book.project.name}} JavaScript adapter, which can You can obtain this library from a running a {{book.project.name}} Server instance by including the following `script` tag in your web page: ```html - + ``` Once you do that, you can create a `KeycloakAuthorization` instance as follows: diff --git a/authorization_services/topics/getting-started/overview.adoc b/authorization_services/topics/getting-started/overview.adoc index 00e7bb8e25..9b72e13515 100644 --- a/authorization_services/topics/getting-started/overview.adoc +++ b/authorization_services/topics/getting-started/overview.adoc @@ -1,26 +1,21 @@ [[_getting_started_overview]] == Getting Started -Before you can participate in this tutorial, you need to complete the installation of {{book.project.name}} and create the -initial admin user as shown in the link:{{book.gettingstarted.link}}[{{book.gettingstarted.name}}] tutorial. -There is one caveat to this. You have to run a separate {{book.appServer}} instance on the same machine as the -{{book.project.name}} server. This separate instance will run your Java Servlet application. Because of this you will -have to run the {{book.project.name}} under a different port so that there are no port conflicts when running on the -same machine. Use the `jboss.socket.binding.port-offset` system property on the command line. The value of this property -is a number that will be added to the base value of every port opened by the {{book.project.name}} server. +Before you can use this tutorial, you need to complete the installation of {{book.project.name}} and create the initial admin user as shown in the link:{{book.gettingstarted.link}}[{{book.gettingstarted.name}}] tutorial. +There is one caveat to this. You have to run a separate {{book.appServer}} instance on the same machine as {{book.project.name}} Server. This separate instance will run your Java Servlet application. Because of this you will have to run the {{book.project.name}} under a different port so that there are no port conflicts when running on the same machine. Use the `jboss.socket.binding.port-offset` system property on the command line. The value of this property is a number that will be added to the base value of every port opened by {{book.project.name}} Server. -To boot the {{book.project.name}} server: +To boot {{book.project.name}} Server: .Linux/Unix [source] ---- -$ ${KEYCLOAK_SERVER_DIR}/bin/standalone.sh -Djboss.socket.binding.port-offset=100 +$ .../bin/standalone.sh -Djboss.socket.binding.port-offset=100 ---- .Windows [source] ---- -> ${KEYCLOAK_SERVER_DIR}\bin\standalone.bat -Djboss.socket.binding.port-offset=100 +> ...\bin\standalone.bat -Djboss.socket.binding.port-offset=100 ---- For more details about how to install and configure a {{book.appServer}}, please follow the steps on the link:{{book.adapterguide.link}}[{{book.adapterguide.name}}] tutorial.