Skip to content

Commit 0fee2e1

Browse files
chore: deploy website
1 parent 535924d commit 0fee2e1

25 files changed

+835
-335
lines changed
27.4 KB
Loading

docs/docs/_images/multi-login.png

32.9 KB
Loading

docs/docs/configuration.html

Lines changed: 80 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ <h3 class="title"><a href="index.html">Documentation</a></h3>
5959
<a class="nav-link" href="index.html">Overview</a>
6060
<ul class="nav-list">
6161
<li class="nav-item" data-depth="2">
62-
<a class="nav-link" href="overview-v3.html">Hawtio v3</a>
62+
<a class="nav-link" href="overview-v4.html">Hawtio v3</a>
6363
</li>
6464
<li class="nav-item" data-depth="2">
6565
<a class="nav-link" href="get-started.html">Get Started</a>
@@ -76,18 +76,24 @@ <h3 class="title"><a href="index.html">Documentation</a></h3>
7676
<li class="nav-item is-current-page" data-depth="2">
7777
<a class="nav-link" href="configuration.html">Configuration</a>
7878
</li>
79-
<li class="nav-item" data-depth="2">
80-
<a class="nav-link" href="security.html">Security</a>
81-
</li>
8279
<li class="nav-item" data-depth="2">
8380
<a class="nav-link" href="plugins.html">Plugins</a>
8481
</li>
82+
</ul>
83+
</li>
84+
<li class="nav-item" data-depth="1">
85+
<button class="nav-item-toggle"></button>
86+
<span class="nav-text">Securing Hawtio</span>
87+
<ul class="nav-list">
8588
<li class="nav-item" data-depth="2">
86-
<a class="nav-link" href="keycloak.html">Keycloak Integration</a>
89+
<a class="nav-link" href="security.html">Security</a>
8790
</li>
8891
<li class="nav-item" data-depth="2">
8992
<a class="nav-link" href="oidc.html">OpenID Connect Integration</a>
9093
</li>
94+
<li class="nav-item" data-depth="2">
95+
<a class="nav-link" href="keycloak.html">Keycloak Integration</a>
96+
</li>
9197
</ul>
9298
</li>
9399
<li class="nav-item" data-depth="1">
@@ -192,6 +198,18 @@ <h1 class="page">Configuration</h1>
192198
<div class="paragraph">
193199
<p>Hawtio consists of two main components: the server runtime and client console. The server runtime is the Java backend that runs on the server side, and the client console is the JavaScript frontend that is deployed and runs on the browser.</p>
194200
</div>
201+
<div class="admonitionblock note">
202+
<table>
203+
<tr>
204+
<td class="icon">
205+
<i class="fa icon-note" title="Note"></i>
206+
</td>
207+
<td class="content">
208+
More information about the components can be found in <a href="developers/architecture.html" class="xref page">Hawtio Architecture</a> chapter.
209+
</td>
210+
</tr>
211+
</table>
212+
</div>
195213
<div class="paragraph">
196214
<p>Therefore, two types of configuration are provided for Hawtio:</p>
197215
</div>
@@ -211,7 +229,7 @@ <h1 class="page">Configuration</h1>
211229
<h2 id="_configuration_properties"><a class="anchor" href="#_configuration_properties"></a>Configuration properties</h2>
212230
<div class="sectionbody">
213231
<div class="paragraph">
214-
<p>The Hawtio server runtime and its plugins can configure their behaviours through System properties.</p>
232+
<p>The Hawtio server runtime and its plugins can be configured using System properties.</p>
215233
</div>
216234
<div class="paragraph">
217235
<p>The following table lists the configuration properties for the Hawtio core system and various plugins.</p>
@@ -245,29 +263,77 @@ <h2 id="_configuration_properties"><a class="anchor" href="#_configuration_prope
245263
<tbody>
246264
<tr>
247265
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>hawtio.disableProxy</code></p></td>
248-
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>false</code></p></td>
266+
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>false</code> in SpringBoot and WAR deployments, <code>true</code> in Quarkus deployments.</p></td>
249267
<td class="tableblock halign-left valign-top"><p class="tableblock">With this property set to <code>true</code>, <code>ProxyServlet</code> (<code>/hawtio/proxy/*</code>) can be disabled. This makes Connect plugin unavailable, which means Hawtio can no longer connect to remote JVMs, but sometimes users might want to do so because of security if Connect plugin is not used.</p></td>
250268
</tr>
251269
<tr>
252270
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>hawtio.localAddressProbing</code></p></td>
253271
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>true</code></p></td>
254-
<td class="tableblock halign-left valign-top"><p class="tableblock">Whether local address probing for proxy allowlist is enabled or not upon startup. Set this property to <code>false</code> to disable it.</p></td>
272+
<td class="tableblock halign-left valign-top"><p class="tableblock">Whether <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/net/NetworkInterface.html#getNetworkInterfaces()">all local addresses</a> for proxy allowlist should be allowed. Set this property to <code>false</code> to use only <code>127.0.0.1</code> and <code>localhost</code> addresses.</p></td>
255273
</tr>
256274
<tr>
257275
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>hawtio.proxyAllowlist</code></p></td>
258276
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>localhost, 127.0.0.1</code></p></td>
259-
<td class="tableblock halign-left valign-top"><p class="tableblock">Comma-separated allowlist for target hosts that Connect plugin can connect to via <code>ProxyServlet</code>. All hosts that are not listed in this allowlist are denied to connect for security reasons. This option can be set to <code>*</code> to allow all hosts. Prefixing an element of the list with <code>"r:"</code> allows to define a regexp (example: <code>localhost,r:myserver[0-9]+.mydomain.com</code>)</p></td>
277+
<td class="tableblock halign-left valign-top"><p class="tableblock">Comma-separated allowlist for target hosts that Connect plugin can connect to via <code>ProxyServlet</code>. All hosts that are not listed in this allowlist are forbidden to connect to for security reasons. This option can be set to <code>*</code> to allow all hosts. Prefixing an element of the list with <code>"r:"</code> allows to define a regexp (example: <code>localhost,r:myserver[0-9]+.mydomain.com</code>)</p></td>
278+
</tr>
279+
<tr>
280+
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>hawtio.proxyDisableCertificateValidation</code></p></td>
281+
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>false</code></p></td>
282+
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
283+
<p>Whether to disable hostname verifier in HttpClient4 used by <code>ProxyServlet</code> when using TLS connections.<br></p>
284+
</div>
285+
<div class="paragraph">
286+
<p>This option can also be specified using <code>PROXY_DISABLE_CERT_VALIDATION</code> environment variable.</p>
287+
</div></div></td>
260288
</tr>
261289
<tr>
262290
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>hawtio.redirect.scheme</code></p></td>
263291
<td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
264-
<td class="tableblock halign-left valign-top"><p class="tableblock">The scheme of the redirect URL to login page when authentication is required.</p></td>
292+
<td class="tableblock halign-left valign-top"><p class="tableblock">The scheme of the redirect URL to login page when authentication is required. When this scheme is not configured, Hawtio sends redirects in the form
293+
of <code>/hawtio/login</code> instead of absolute address with host name and port number.</p></td>
265294
</tr>
266295
<tr>
267296
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>hawtio.sessionTimeout</code></p></td>
268297
<td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
269298
<td class="tableblock halign-left valign-top"><p class="tableblock">The maximum time interval, in seconds, that the servlet container will keep this session open between client accesses. If this option is not configured, then Hawtio uses the default session timeout of the servlet container.</p></td>
270299
</tr>
300+
<tr>
301+
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>hawtio.http.enableCORS</code></p></td>
302+
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>false</code></p></td>
303+
<td class="tableblock halign-left valign-top"><p class="tableblock">Whether CORS filter is enabled and checks for permitted <code>Origin</code> HTTP header values.</p></td>
304+
</tr>
305+
<tr>
306+
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>hawtio.http.accessControlAllowOrigin</code></p></td>
307+
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>*</code></p></td>
308+
<td class="tableblock halign-left valign-top"><p class="tableblock">When <code>hawtio.http.enableCORS</code> option is enabled, Hawtio responds to <a href="https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request">CORS pre-flight requests</a> with CORS headers. This options allows to set the value returned in <code>Access-Control-Allow-Origin</code> response header.</p></td>
309+
</tr>
310+
<tr>
311+
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>hawtio.http.allowXFrameSameOrigin</code></p></td>
312+
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>false</code></p></td>
313+
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
314+
<p>When set to <code>true</code>, Hawtio sends response headers:</p>
315+
</div>
316+
<div class="listingblock">
317+
<div class="content">
318+
<pre class="highlightjs highlight nowrap"><code class="language-none hljs">X-Frame-Options: SAMEORIGIN
319+
Content-Security-Policy: ...; frame-ancestors 'self'</code></pre>
320+
</div>
321+
</div>
322+
<div class="paragraph">
323+
<p>otherwise (by default) Hawtio sends</p>
324+
</div>
325+
<div class="listingblock">
326+
<div class="content">
327+
<pre class="highlightjs highlight nowrap"><code class="language-none hljs">X-Frame-Options: DENY
328+
Content-Security-Policy: ...; frame-ancestors 'none'</code></pre>
329+
</div>
330+
</div></div></td>
331+
</tr>
332+
<tr>
333+
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>hawtio.http.referrerPolicy</code></p></td>
334+
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>strict-origin</code></p></td>
335+
<td class="tableblock halign-left valign-top"><p class="tableblock">What value Hawtio sends with <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Referrer-Policy"><code>Referrer-Policy</code></a> response header.</p></td>
336+
</tr>
271337
</tbody>
272338
</table>
273339
<div class="sect2">
@@ -278,7 +344,7 @@ <h3 id="_quarkus"><a class="anchor" href="#_quarkus"></a>Quarkus</h3>
278344
<div class="listingblock">
279345
<div class="title">application.properties</div>
280346
<div class="content">
281-
<pre class="highlightjs highlight"><code class="language-properties hljs" data-lang="properties">quarkus.hawtio.disableProxy = true</code></pre>
347+
<pre class="highlightjs highlight"><code class="language-properties hljs" data-lang="properties">quarkus.hawtio.disableProxy = false</code></pre>
282348
</div>
283349
</div>
284350
</div>
@@ -300,7 +366,7 @@ <h3 id="_spring_boot"><a class="anchor" href="#_spring_boot"></a>Spring Boot</h3
300366
<h2 id="_configuring_jolokia_through_system_properties"><a class="anchor" href="#_configuring_jolokia_through_system_properties"></a>Configuring Jolokia through System properties</h2>
301367
<div class="sectionbody">
302368
<div class="paragraph">
303-
<p>The Jolokia agent is deployed automatically with <code>io.hawt.web.JolokiaConfiguredAgentServlet</code> that extends Jolokia native <code>org.jolokia.server.core.http.AgentServlet</code> class, defined in <code>hawtio-war/WEB-INF/web.xml</code>.</p>
369+
<p>The Jolokia agent is deployed automatically as <code>org.jolokia.server.core.http.AgentServlet</code> servlet class, defined in <code>hawtio-war/WEB-INF/web.xml</code>.</p>
304370
</div>
305371
<div class="paragraph">
306372
<p>If you want to customize the Jolokia Servlet with the configuration parameters that are defined in the <a href="https://jolokia.org/reference/html/manual/agents.html#agent-war-init-params">Jolokia documentation</a>, you can pass them as System properties prefixed with <code>jolokia.</code>. For example:</p>
@@ -310,31 +376,9 @@ <h2 id="_configuring_jolokia_through_system_properties"><a class="anchor" href="
310376
<pre class="highlightjs highlight"><code class="language-properties hljs" data-lang="properties">jolokia.policyLocation = file:///opt/hawtio/my-jolokia-access.xml</code></pre>
311377
</div>
312378
</div>
313-
<div class="sect2">
314-
<h3 id="_rbac_restrictor"><a class="anchor" href="#_rbac_restrictor"></a>RBAC Restrictor</h3>
315379
<div class="paragraph">
316-
<p>For some runtimes that support Hawtio RBAC (role-based access control) <sup class="footnote">[<a id="_footnoteref_1" class="footnote" href="#_footnotedef_1" title="View footnote.">1</a>]</sup>, Hawtio provides a custom <a href="https://jolokia.org/reference/html/manual/security.html#security-restrictor">Jolokia restrictor</a> implementation that provides an additional layer of protection over JMX operations based on the ACL (access control list) policy.</p>
317-
</div>
318-
<div class="admonitionblock warning">
319-
<table>
320-
<tr>
321-
<td class="icon">
322-
<i class="fa icon-warning" title="Warning"></i>
323-
</td>
324-
<td class="content">
325-
You cannot use Hawtio RBAC with Quarkus and Spring Boot yet. Enabling the RBAC restrictor on those runtimes only imposes additional load without any gains.
326-
</td>
327-
</tr>
328-
</table>
329-
</div>
330-
<div class="paragraph">
331-
<p>To activate the Hawtio RBAC restrictor, configure the Jolokia parameter <code>restrictorClass</code> via System property to use <code>io.hawt.web.RBACRestrictor</code> as follows:</p>
332-
</div>
333-
<div class="listingblock">
334-
<div class="content">
335-
<pre class="highlightjs highlight"><code class="language-properties hljs" data-lang="properties">jolokia.restrictorClass = io.hawt.system.RBACRestrictor</code></pre>
336-
</div>
337-
</div>
380+
<p>Since Jolokia 2.2.0 all Jolokia properties can be specified as <code>jolokia.</code> prefixed system properties or <code>JOLOKIA_</code> prefixed
381+
environment variables. See <a href="https://jolokia.org/reference/html/manual/agents.html#_configuration">Jolokia Configuration</a>.</p>
338382
</div>
339383
</div>
340384
</div>
@@ -917,12 +961,6 @@ <h3 id="_customising_from_plugins"><a class="anchor" href="#_customising_from_pl
917961
</div>
918962
</div>
919963
</div>
920-
<div id="footnotes">
921-
<hr>
922-
<div class="footnote" id="_footnotedef_1">
923-
<a href="#_footnoteref_1">1</a>. <a href="https://karaf.apache.org/">Apache Karaf</a> and <a href="https://activemq.apache.org/components/artemis/">Apache ActiveMQ Artemis</a> provide Hawtio RBAC support.
924-
</div>
925-
</div>
926964
</article>
927965
</div>
928966
</main>

docs/docs/contributing.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ <h3 class="title"><a href="index.html">Documentation</a></h3>
5959
<a class="nav-link" href="index.html">Overview</a>
6060
<ul class="nav-list">
6161
<li class="nav-item" data-depth="2">
62-
<a class="nav-link" href="overview-v3.html">Hawtio v3</a>
62+
<a class="nav-link" href="overview-v4.html">Hawtio v3</a>
6363
</li>
6464
<li class="nav-item" data-depth="2">
6565
<a class="nav-link" href="get-started.html">Get Started</a>
@@ -76,18 +76,24 @@ <h3 class="title"><a href="index.html">Documentation</a></h3>
7676
<li class="nav-item" data-depth="2">
7777
<a class="nav-link" href="configuration.html">Configuration</a>
7878
</li>
79-
<li class="nav-item" data-depth="2">
80-
<a class="nav-link" href="security.html">Security</a>
81-
</li>
8279
<li class="nav-item" data-depth="2">
8380
<a class="nav-link" href="plugins.html">Plugins</a>
8481
</li>
82+
</ul>
83+
</li>
84+
<li class="nav-item" data-depth="1">
85+
<button class="nav-item-toggle"></button>
86+
<span class="nav-text">Securing Hawtio</span>
87+
<ul class="nav-list">
8588
<li class="nav-item" data-depth="2">
86-
<a class="nav-link" href="keycloak.html">Keycloak Integration</a>
89+
<a class="nav-link" href="security.html">Security</a>
8790
</li>
8891
<li class="nav-item" data-depth="2">
8992
<a class="nav-link" href="oidc.html">OpenID Connect Integration</a>
9093
</li>
94+
<li class="nav-item" data-depth="2">
95+
<a class="nav-link" href="keycloak.html">Keycloak Integration</a>
96+
</li>
9197
</ul>
9298
</li>
9399
<li class="nav-item" data-depth="1">

docs/docs/developers/applications.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ <h3 class="title"><a href="../index.html">Documentation</a></h3>
5959
<a class="nav-link" href="../index.html">Overview</a>
6060
<ul class="nav-list">
6161
<li class="nav-item" data-depth="2">
62-
<a class="nav-link" href="../overview-v3.html">Hawtio v3</a>
62+
<a class="nav-link" href="../overview-v4.html">Hawtio v3</a>
6363
</li>
6464
<li class="nav-item" data-depth="2">
6565
<a class="nav-link" href="../get-started.html">Get Started</a>
@@ -76,18 +76,24 @@ <h3 class="title"><a href="../index.html">Documentation</a></h3>
7676
<li class="nav-item" data-depth="2">
7777
<a class="nav-link" href="../configuration.html">Configuration</a>
7878
</li>
79-
<li class="nav-item" data-depth="2">
80-
<a class="nav-link" href="../security.html">Security</a>
81-
</li>
8279
<li class="nav-item" data-depth="2">
8380
<a class="nav-link" href="../plugins.html">Plugins</a>
8481
</li>
82+
</ul>
83+
</li>
84+
<li class="nav-item" data-depth="1">
85+
<button class="nav-item-toggle"></button>
86+
<span class="nav-text">Securing Hawtio</span>
87+
<ul class="nav-list">
8588
<li class="nav-item" data-depth="2">
86-
<a class="nav-link" href="../keycloak.html">Keycloak Integration</a>
89+
<a class="nav-link" href="../security.html">Security</a>
8790
</li>
8891
<li class="nav-item" data-depth="2">
8992
<a class="nav-link" href="../oidc.html">OpenID Connect Integration</a>
9093
</li>
94+
<li class="nav-item" data-depth="2">
95+
<a class="nav-link" href="../keycloak.html">Keycloak Integration</a>
96+
</li>
9197
</ul>
9298
</li>
9399
<li class="nav-item" data-depth="1">

docs/docs/developers/architecture.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ <h3 class="title"><a href="../index.html">Documentation</a></h3>
5959
<a class="nav-link" href="../index.html">Overview</a>
6060
<ul class="nav-list">
6161
<li class="nav-item" data-depth="2">
62-
<a class="nav-link" href="../overview-v3.html">Hawtio v3</a>
62+
<a class="nav-link" href="../overview-v4.html">Hawtio v3</a>
6363
</li>
6464
<li class="nav-item" data-depth="2">
6565
<a class="nav-link" href="../get-started.html">Get Started</a>
@@ -76,18 +76,24 @@ <h3 class="title"><a href="../index.html">Documentation</a></h3>
7676
<li class="nav-item" data-depth="2">
7777
<a class="nav-link" href="../configuration.html">Configuration</a>
7878
</li>
79-
<li class="nav-item" data-depth="2">
80-
<a class="nav-link" href="../security.html">Security</a>
81-
</li>
8279
<li class="nav-item" data-depth="2">
8380
<a class="nav-link" href="../plugins.html">Plugins</a>
8481
</li>
82+
</ul>
83+
</li>
84+
<li class="nav-item" data-depth="1">
85+
<button class="nav-item-toggle"></button>
86+
<span class="nav-text">Securing Hawtio</span>
87+
<ul class="nav-list">
8588
<li class="nav-item" data-depth="2">
86-
<a class="nav-link" href="../keycloak.html">Keycloak Integration</a>
89+
<a class="nav-link" href="../security.html">Security</a>
8790
</li>
8891
<li class="nav-item" data-depth="2">
8992
<a class="nav-link" href="../oidc.html">OpenID Connect Integration</a>
9093
</li>
94+
<li class="nav-item" data-depth="2">
95+
<a class="nav-link" href="../keycloak.html">Keycloak Integration</a>
96+
</li>
9197
</ul>
9298
</li>
9399
<li class="nav-item" data-depth="1">

docs/docs/developers/history.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ <h3 class="title"><a href="../index.html">Documentation</a></h3>
5959
<a class="nav-link" href="../index.html">Overview</a>
6060
<ul class="nav-list">
6161
<li class="nav-item" data-depth="2">
62-
<a class="nav-link" href="../overview-v3.html">Hawtio v3</a>
62+
<a class="nav-link" href="../overview-v4.html">Hawtio v3</a>
6363
</li>
6464
<li class="nav-item" data-depth="2">
6565
<a class="nav-link" href="../get-started.html">Get Started</a>
@@ -76,18 +76,24 @@ <h3 class="title"><a href="../index.html">Documentation</a></h3>
7676
<li class="nav-item" data-depth="2">
7777
<a class="nav-link" href="../configuration.html">Configuration</a>
7878
</li>
79-
<li class="nav-item" data-depth="2">
80-
<a class="nav-link" href="../security.html">Security</a>
81-
</li>
8279
<li class="nav-item" data-depth="2">
8380
<a class="nav-link" href="../plugins.html">Plugins</a>
8481
</li>
82+
</ul>
83+
</li>
84+
<li class="nav-item" data-depth="1">
85+
<button class="nav-item-toggle"></button>
86+
<span class="nav-text">Securing Hawtio</span>
87+
<ul class="nav-list">
8588
<li class="nav-item" data-depth="2">
86-
<a class="nav-link" href="../keycloak.html">Keycloak Integration</a>
89+
<a class="nav-link" href="../security.html">Security</a>
8790
</li>
8891
<li class="nav-item" data-depth="2">
8992
<a class="nav-link" href="../oidc.html">OpenID Connect Integration</a>
9093
</li>
94+
<li class="nav-item" data-depth="2">
95+
<a class="nav-link" href="../keycloak.html">Keycloak Integration</a>
96+
</li>
9197
</ul>
9298
</li>
9399
<li class="nav-item" data-depth="1">

0 commit comments

Comments
 (0)