RHSSO-931 Wildfly occurences in Hawtio section. Replace hawtio.war with the proper version

This commit is contained in:
mposolda 2017-03-30 09:45:32 +02:00
parent 12051d17d5
commit ad8de54fb0
3 changed files with 12 additions and 9 deletions

View file

@ -59,6 +59,8 @@
},
"fuseVersion": "JBoss Fuse 6.3.0 Rollup 1",
"hawtioEAPVersion": "Wildfly 10",
"hawtioWARVersion": "hawtio-wildfly-1.4.0.redhat-630254.war",
"appserver": {
"name": "Wildfly",

View file

@ -26,9 +26,10 @@
"link": "https://access.redhat.com/documentation/en/red-hat-single-sign-on/7.1-beta/html-single/server-administration-guide/"
},
"fuseVersion": "JBoss Fuse 6.3.0 Rollup 1",
"subsystem": {
"undertow": "urn:jboss:domain:undertow:3.1"
}
},
"hawtioEAPVersion": "JBoss EAP 6.4",
"hawtioWARVersion": "hawtio-wildfly-1.4.0.redhat-630254.war"
}
}

View file

@ -56,20 +56,20 @@ features:install keycloak
+
Note that the user needs to have the proper realm role to successfully authenticate to Hawtio. The available roles are configured in the `$FUSE_HOME/etc/system.properties` file in `hawtio.roles`.
====== Securing Hawtio on EAP
====== Securing Hawtio on {{book.hawtioEAPVersion}}
To run Hawtio on the Wildfly 10 server, complete the following steps:
To run Hawtio on the {{book.hawtioEAPVersion}} server, complete the following steps:
. Set up {{book.project.name}} as described in the previous section, Securing the Hawtio Administration Console. It is assumed that:
* you have a {{book.project.name}} realm `demo` and client `hawtio-client`
* your {{book.project.name}} is running on `localhost:8080`
* the Wildfly server with deployed Hawtio will be running on `localhost:8181`.
* the {{book.hawtioEAPVersion}} server with deployed Hawtio will be running on `localhost:8181`. The directory with this server is referred in next steps as `$EAP_HOME`.
. Copy the `hawtio.war` archive to the `$EAP_HOME/standalone/configuration` directory. For more details about deploying Hawtio see the https://access.redhat.com/documentation/en-us/red_hat_jboss_fuse/6.3/html-single/deploying_into_a_web_server/eapcamelsubsystem#idm140313338064000[Fuse Hawtio documentation].
. Copy the `{{book.hawtioWARVersion}}` archive to the `$EAP_HOME/standalone/configuration` directory. For more details about deploying Hawtio see the https://access.redhat.com/documentation/en-us/red_hat_jboss_fuse/6.3/html-single/deploying_into_a_web_server/eapcamelsubsystem#idm140313338064000[Fuse Hawtio documentation].
. Copy the `keycloak-hawtio.json` and `keycloak-hawtio-client.json` files with the above content to the `$EAP_HOME/standalone/configuration` directory.
. Install the {{book.project.name}} adapter subsystem to your Wildfly server as described in the <<fake/../../jboss-adapter.adoc#_jboss_adapter,JBoss adapter documentation>>.
. Install the {{book.project.name}} adapter subsystem to your {{book.hawtioEAPVersion}} server as described in the <<fake/../../jboss-adapter.adoc#_jboss_adapter,JBoss adapter documentation>>.
. In the `$EAP_HOME/standalone/configuration/standalone.xml` file configure the system properties as in this example:
+
@ -109,11 +109,11 @@ To run Hawtio on the Wildfly 10 server, complete the following steps:
[source,xml]
----
<subsystem xmlns="urn:jboss:domain:keycloak:1.1">
<secure-deployment name="hawtio.war" />
<secure-deployment name="{{book.hawtioWARVersion}}" />
</subsystem>
----
. Restart the Wildfly server with Hawtio:
. Restart the {{book.hawtioEAPVersion}} server with Hawtio:
+
[source,xml]
----