Package io.hawt.quarkus
Class HawtioConfig
- java.lang.Object
-
- io.hawt.quarkus.HawtioConfig
-
@ConfigRoot(name="hawtio", phase=BUILD_AND_RUN_TIME_FIXED) public class HawtioConfig extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHawtioConfig.PluginConfig
-
Field Summary
Fields Modifier and Type Field Description java.lang.BooleanauthenticationEnabledEnables or disables Hawtio authenticationstatic java.lang.StringDEFAULT_CONTEXT_PATHstatic java.lang.StringDEFAULT_PLUGIN_PATHjava.lang.BooleandisableProxyEnable or disable the Hawtio proxy servletjava.util.Optional<java.lang.String>keycloakClientConfigThe location of client-side configuration file for Hawtio Keycloak supportjava.lang.BooleankeycloakEnabledEnables or disables Hawtio keycloak supportjava.lang.BooleanlocalAddressProbingWhether local address probing for proxy allowlist is enabled or not upon startup.java.util.Map<java.lang.String,HawtioConfig.PluginConfig>pluginConfigsMap of custom Hawtio plugin configurationsjava.util.Optional<java.util.List<java.lang.String>>proxyAllowlistComma separated list for target hosts that the hawtio-jmx Connect plugin can connect to via ProxyServlet.java.util.Optional<java.lang.String>roleThe user role required to log in to the consolejava.util.Optional<java.util.List<java.lang.String>>rolesComma separated list of user roles required to log in to the consolejava.util.Optional<java.lang.Integer>sessionTimeoutThe maximum time interval, in seconds, that the servlet container will keep this session open between client accesses
-
Constructor Summary
Constructors Constructor Description HawtioConfig()
-
-
-
Field Detail
-
DEFAULT_CONTEXT_PATH
public static final java.lang.String DEFAULT_CONTEXT_PATH
- See Also:
- Constant Field Values
-
DEFAULT_PLUGIN_PATH
public static final java.lang.String DEFAULT_PLUGIN_PATH
- See Also:
- Constant Field Values
-
authenticationEnabled
@ConfigItem(name="authenticationEnabled", defaultValue="true") public java.lang.Boolean authenticationEnabledEnables or disables Hawtio authentication
-
role
@ConfigItem public java.util.Optional<java.lang.String> role
The user role required to log in to the console
-
roles
@ConfigItem public java.util.Optional<java.util.List<java.lang.String>> roles
Comma separated list of user roles required to log in to the console
-
keycloakEnabled
@ConfigItem(name="keycloakEnabled", defaultValue="false") public java.lang.Boolean keycloakEnabledEnables or disables Hawtio keycloak support
-
keycloakClientConfig
@ConfigItem(name="keycloakClientConfig") public java.util.Optional<java.lang.String> keycloakClientConfig
The location of client-side configuration file for Hawtio Keycloak support
-
sessionTimeout
@ConfigItem(name="sessionTimeout", defaultValue="1800") public java.util.Optional<java.lang.Integer> sessionTimeoutThe maximum time interval, in seconds, that the servlet container will keep this session open between client accesses
-
proxyAllowlist
@ConfigItem(name="proxyAllowlist", defaultValue="localhost, 127.0.0.1") public java.util.Optional<java.util.List<java.lang.String>> proxyAllowlistComma separated list for target hosts that the hawtio-jmx Connect plugin can connect to via ProxyServlet.All hosts that are not listed in this allowlist are denied to connect for security reasons. This option can be set to * to restore the old behavior and allow all hosts. Prefixing an element of the list with "r:" allows you to define a regexp (example: localhost,r:myservers[0-9]+.mydomain.com)
-
localAddressProbing
@ConfigItem(name="localAddressProbing", defaultValue="true") public java.lang.Boolean localAddressProbingWhether local address probing for proxy allowlist is enabled or not upon startup. Set this property to false to disable it
-
disableProxy
@ConfigItem(name="disableProxy", defaultValue="false") public java.lang.Boolean disableProxyEnable or disable the Hawtio proxy servlet
-
pluginConfigs
@ConfigItem(name="plugin") public java.util.Map<java.lang.String,HawtioConfig.PluginConfig> pluginConfigs
Map of custom Hawtio plugin configurations
-
-