A B C D E F G H I J K L M N O P Q R S T U V W X 
All Classes All Packages

A

abort() - Method in class io.hawt.web.tomcat.TomcatUserDatabaseLoginContext
 
About - Class in io.hawt.jmx
 
About() - Constructor for class io.hawt.jmx.About
 
AboutMBean - Interface in io.hawt.jmx
 
acceptSelfSignedCerts - Variable in class io.hawt.web.proxy.ProxyServlet
 
ACCESS_CONTROL_ALLOW_ORIGIN - Static variable in class io.hawt.web.filters.CORSFilter
 
add(Map<Package, ClassLoader[]>, Package[], ClassLoader[], Set<String>) - Static method in class io.hawt.util.introspect.support.Packages
 
addClassesForPackage(ClassResource, String, Integer, Set<Class<?>>) - Method in class io.hawt.util.introspect.support.ClassScanner
 
addClassNamesInDirectoryWithMethodsAnnotatedWith(SortedSet<String>, File, Class<? extends Annotation>, String) - Method in class io.hawt.util.introspect.support.ClassScanner
 
addHeaders(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.filters.CacheHeadersFilter
 
addHeaders(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.filters.ContentSecurityPolicyFilter
 
addHeaders(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.filters.CORSFilter
 
addHeaders(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.filters.HttpHeaderFilter
 
addHeaders(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.filters.PublicKeyPinningFilter
 
addHeaders(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.filters.ReferrerPolicyFilter
 
addHeaders(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.filters.StrictTransportSecurityFilter
 
addHeaders(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.filters.XContentTypeOptionsFilter
 
addHeaders(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.filters.XFrameOptionsFilter
 
addHeaders(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.filters.XXSSProtectionFilter
 
addPackageResources(Package, Map<String, ClassResource>, ClassLoader[]) - Method in class io.hawt.util.introspect.support.ClassScanner
 
ALLOW_X_FRAME_SAME_ORIGIN - Static variable in class io.hawt.web.filters.HttpHeaderFilter
 
allowlist - Variable in class io.hawt.system.ProxyAllowlist
 
allowlist - Variable in class io.hawt.web.proxy.ProxyServlet
 
andFilter(FileFilter, FileFilter) - Static method in class io.hawt.util.FileFilters
 
apply(T) - Method in interface io.hawt.util.Function
Returns the result of applying this function to the parameter value
asciiQueryChars - Static variable in class io.hawt.web.proxy.ProxyServlet
 
assertDirectoryExists(File) - Static method in class io.hawt.util.Files
Throws an exception if the given file does not exist
assertExists(File) - Static method in class io.hawt.util.Files
Throws an exception if the given file or directory does not exist
assertFileExists(File) - Static method in class io.hawt.util.Files
Throws an exception if the given file does not exist
ATTRIBUTE_LAST_ACCESS - Static variable in class io.hawt.web.auth.SessionExpiryFilter
 
ATTRIBUTE_UNSECURED_PATHS - Variable in class io.hawt.web.auth.LoginRedirectFilter
 
ATTRIBUTE_X509_CERTIFICATE - Static variable in class io.hawt.system.Authenticator
 
authConfiguration - Variable in class io.hawt.web.auth.AuthenticationFilter
 
authConfiguration - Variable in class io.hawt.web.auth.LoginServlet
 
authConfiguration - Variable in class io.hawt.web.auth.LogoutServlet
 
authenticate(Consumer<Subject>) - Method in class io.hawt.system.Authenticator
 
AuthenticateResult - Enum in io.hawt.system
Authentication result
AUTHENTICATION_CONFIGURATION - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
AUTHENTICATION_CONTAINER_DISCOVERY_CLASSES - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
AUTHENTICATION_ENABLED - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
AUTHENTICATION_SCHEME_BASIC - Static variable in class io.hawt.system.Authenticator
 
AUTHENTICATION_SCHEME_BEARER - Static variable in class io.hawt.system.Authenticator
 
AuthenticationConfiguration - Class in io.hawt.web.auth
 
AuthenticationConfiguration(ServletContext) - Constructor for class io.hawt.web.auth.AuthenticationConfiguration
 
AuthenticationContainerDiscovery - Interface in io.hawt.web.auth
SPI to allow various containers to discover and hook up needed configuration changes to AuthenticationConfiguration so hawtio AuthenticationFilter can integrate with the container easily.
AuthenticationFilter - Class in io.hawt.web.auth
Filter for authentication.
AuthenticationFilter() - Constructor for class io.hawt.web.auth.AuthenticationFilter
 
Authenticator - Class in io.hawt.system
Authenticator performs authentication using JAAS with the LoginContext for the chosen realm.
Authenticator(HttpServletRequest, AuthenticationConfiguration) - Constructor for class io.hawt.system.Authenticator
Request-based authenticator such as when authenticating direct Jolokia accesses.
Authenticator(HttpServletRequest, AuthenticationConfiguration, String, String) - Constructor for class io.hawt.system.Authenticator
Explicit username/password authenticator when authenticating users from login page.
AuthHelpers - Class in io.hawt.system
Helpers for authentication and authorization.
AuthHelpers() - Constructor for class io.hawt.system.AuthHelpers
 
AUTHORIZED - io.hawt.system.AuthenticateResult
 
AuthSessionHelpers - Class in io.hawt.web.auth
Helpers for authentication and authorization on HTTP sessions.

B

BaseTagHrefFilter - Class in io.hawt.web.filters
 
BaseTagHrefFilter() - Constructor for class io.hawt.web.filters.BaseTagHrefFilter
 
BUFFER_SIZE - Static variable in class io.hawt.util.IOHelper
 
buildRegexAllowlist(List<String>) - Method in class io.hawt.system.ProxyAllowlist
 

C

CacheHeadersFilter - Class in io.hawt.web.filters
 
CacheHeadersFilter() - Constructor for class io.hawt.web.filters.CacheHeadersFilter
 
cacheInBrowser(HttpServletRequest) - Method in class io.hawt.web.filters.CacheHeadersFilter
 
CacheValue - Class in io.hawt.util.introspect.support
 
CacheValue() - Constructor for class io.hawt.util.introspect.support.CacheValue
 
CAN_INVOKE_RESULT_COLUMNS - Static variable in interface io.hawt.jmx.JMXSecurityMBean
CAN_INVOKE_RESULT_ROW_TYPE - Static variable in interface io.hawt.jmx.JMXSecurityMBean
CAN_INVOKE_TABULAR_TYPE - Static variable in interface io.hawt.jmx.JMXSecurityMBean
The Tabular Type returned by the JMXSecurityMBean.canInvoke(Map) operation.
canAuthenticate(AuthenticationConfiguration) - Method in interface io.hawt.web.auth.AuthenticationContainerDiscovery
Whether the container can/should be used for authentication
canAuthenticate(AuthenticationConfiguration) - Method in class io.hawt.web.tomcat.TomcatAuthenticationContainerDiscovery
 
canInvoke(String) - Method in class io.hawt.jmx.JMXSecurity
 
canInvoke(String) - Method in interface io.hawt.jmx.JMXSecurityMBean
Checks whether the current user can invoke any methods on a JMX MBean.
canInvoke(String, String) - Method in class io.hawt.jmx.JMXSecurity
 
canInvoke(String, String) - Method in interface io.hawt.jmx.JMXSecurityMBean
Checks whether the current user can invoke any overload of the given method.
canInvoke(String, String, String[]) - Method in class io.hawt.jmx.JMXSecurity
 
canInvoke(String, String, String[]) - Method in interface io.hawt.jmx.JMXSecurityMBean
Checks whether the current user can invoke the given method.
canInvoke(Map<String, List<String>>) - Method in class io.hawt.jmx.JMXSecurity
 
canInvoke(Map<String, List<String>>) - Method in interface io.hawt.jmx.JMXSecurityMBean
Bulk operation to check whether the current user can access the requested MBeans or invoke the requested methods.
canInvoke(ObjectName, String) - Method in class io.hawt.system.RBACMBeanInvoker
 
canInvokeCache - Variable in class io.hawt.system.RBACMBeanInvoker
 
CanInvokeKey(String, ObjectName, String) - Constructor for class io.hawt.system.RBACMBeanInvoker.CanInvokeKey
 
checkRoles(Subject, String, String) - Method in class io.hawt.system.Authenticator
 
chooseMBean(Set<ObjectName>) - Static method in class io.hawt.system.JmxHelpers
 
ClassLoaderProvider - Interface in io.hawt.util.introspect
Represents a provider of a ClassLoader
ClassLoaderProviders - Class in io.hawt.util.introspect
Helper class for creating instances of ClassLoaderProvider
ClassLoaderProviders() - Constructor for class io.hawt.util.introspect.ClassLoaderProviders
 
classNameMatches(String, String) - Method in class io.hawt.util.introspect.support.ClassScanner
Returns true if the given class name matches the filter search
ClassResource - Class in io.hawt.util.introspect.support
 
ClassResource(String, URL) - Constructor for class io.hawt.util.introspect.support.ClassResource
 
ClassScanner - Class in io.hawt.util.introspect.support
A helper class to scan classes on the classpath
ClassScanner(ClassLoader...) - Constructor for class io.hawt.util.introspect.support.ClassScanner
 
cleanPath(String) - Static method in class io.hawt.util.Strings
Normalizes a path.
clear(HttpServletRequest, AuthenticationConfiguration, boolean) - Static method in class io.hawt.web.auth.AuthSessionHelpers
 
clearCache() - Method in class io.hawt.util.introspect.support.ClassScanner
 
close(Closeable, String, Logger) - Static method in class io.hawt.util.IOHelper
Closes the given resource if it is available, logging any closing exceptions to the given log.
Closeables - Class in io.hawt.util
 
closeQuietly(Closeable) - Static method in class io.hawt.util.Closeables
 
commit() - Method in class io.hawt.web.tomcat.TomcatUserDatabaseLoginContext
 
compare(Comparable, Comparable) - Static method in class io.hawt.util.Objects
 
config - Variable in class io.hawt.web.auth.UserServlet
 
CONFIG_MANAGER - Static variable in class io.hawt.system.ConfigManager
 
ConfigManager - Class in io.hawt.system
Configuration manager that provides hawtio configuration properties.
ConfigManager() - Constructor for class io.hawt.system.ConfigManager
 
ConfigManager(Function<String, String>) - Constructor for class io.hawt.system.ConfigManager
 
containsEnum(String) - Static method in class io.hawt.web.servlets.JolokiaConfiguredAgentServlet
 
ContentSecurityPolicyFilter - Class in io.hawt.web.filters
https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
ContentSecurityPolicyFilter() - Constructor for class io.hawt.web.filters.ContentSecurityPolicyFilter
 
contextDestroyed(ServletContextEvent) - Method in class io.hawt.HawtioContextListener
 
contextInitialized(ServletContextEvent) - Method in class io.hawt.HawtioContextListener
 
copy(File, File) - Static method in class io.hawt.util.Files
Copy the source File to the target File.
copy(InputStream, OutputStream) - Static method in class io.hawt.util.IOHelper
 
copy(Reader, Writer) - Static method in class io.hawt.util.IOHelper
 
copy(Reader, Writer, int) - Static method in class io.hawt.util.IOHelper
 
copyRequestHeaders(HttpServletRequest, HttpRequest, URI) - Method in class io.hawt.web.proxy.ProxyServlet
Copy request headers from the servlet client to the proxy request.
copyResponseEntity(HttpResponse, HttpServletResponse) - Method in class io.hawt.web.proxy.ProxyServlet
Copy response body data (the entity) from the proxy to the servlet client.
copyResponseHeaders(HttpResponse, HttpServletResponse) - Method in class io.hawt.web.proxy.ProxyServlet
Copy proxied response headers back to the servlet client.
CORSFilter - Class in io.hawt.web.filters
https://developer.mozilla.org/ja/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
CORSFilter() - Constructor for class io.hawt.web.filters.CORSFilter
 
createCacheValue(String, ClassResource) - Method in class io.hawt.util.introspect.support.ClassScanner
 
createConstantProvider(ClassLoader) - Static method in class io.hawt.util.introspect.ClassLoaderProviders
 
createFileFilter(String) - Static method in class io.hawt.util.FileFilters
 
createNamespaceFinder() - Static method in class io.hawt.util.XmlHelper
 
createParser(SAXParserFactory) - Method in class io.hawt.util.XmlNamespaceFinder
 
createReflectionProvider(Object, Method) - Static method in class io.hawt.util.introspect.ClassLoaderProviders
 
createServletException(Exception) - Method in class io.hawt.HawtioContextListener
 

D

DEFAULT_KARAF_ROLE_PRINCIPAL_CLASSES - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
DEFAULT_REALM - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
DEFAULT_SESSION_TIMEOUT - Static variable in class io.hawt.web.auth.AuthSessionHelpers
 
defaultKeycloakConfigLocation() - Method in class io.hawt.web.auth.keycloak.KeycloakServlet
Will try to guess the config location based on the server where hawtio is running.
delegate - Variable in class io.hawt.system.RBACRestrictor
 
destroy() - Method in class io.hawt.jmx.About
 
destroy() - Method in class io.hawt.jmx.JmxTreeWatcher
 
destroy() - Method in class io.hawt.jmx.QuartzFacade
 
destroy() - Method in class io.hawt.jmx.RBACRegistry
 
destroy() - Method in class io.hawt.system.ConfigManager
 
destroy() - Method in class io.hawt.util.FileLocker
 
destroy() - Method in class io.hawt.util.MBeanSupport
 
destroy() - Method in class io.hawt.web.auth.AuthenticationFilter
 
destroy() - Method in class io.hawt.web.auth.LoginRedirectFilter
 
destroy() - Method in class io.hawt.web.auth.SessionExpiryFilter
 
destroy() - Method in class io.hawt.web.filters.BaseTagHrefFilter
 
destroy() - Method in class io.hawt.web.filters.FlightRecordingDownloadFacade
 
destroy() - Method in class io.hawt.web.filters.HttpHeaderFilter
 
destroy() - Method in class io.hawt.web.proxy.ProxyServlet
 
DISABLE_PROXY - Static variable in class io.hawt.web.proxy.ProxyServlet
 
doAuthenticate() - Method in class io.hawt.system.Authenticator
 
doAuthPrompt(String, HttpServletResponse) - Static method in class io.hawt.web.ServletHelpers
 
doCanInvoke(ObjectName, String) - Method in class io.hawt.system.RBACMBeanInvoker
 
doDelete(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.servlets.SpringBatchConfigServlet
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.hawt.web.auth.AuthenticationFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.hawt.web.auth.LoginRedirectFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.hawt.web.auth.SessionExpiryFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.hawt.web.filters.BaseTagHrefFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.hawt.web.filters.FlightRecordingDownloadFacade
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.hawt.web.filters.HttpHeaderFilter
 
doForbidden(HttpServletResponse) - Static method in class io.hawt.web.ServletHelpers
 
doForbidden(HttpServletResponse, ForbiddenReason) - Static method in class io.hawt.web.ServletHelpers
 
doForward(HttpServletRequest, HttpServletResponse, String) - Method in class io.hawt.web.auth.Redirector
 
doForwardIP - Variable in class io.hawt.web.proxy.ProxyServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.auth.keycloak.KeycloakServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.auth.LoginServlet
GET simply redirects to login page.
doGet(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.auth.LogoutServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.auth.UserServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.plugin.PluginServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.servlets.SpringBatchConfigServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.auth.LoginServlet
POST with username/password tries authentication and returns result as JSON
doPost(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.servlets.SpringBatchConfigServlet
 
doRedirect(HttpServletRequest, HttpServletResponse, String) - Method in class io.hawt.web.auth.Redirector
 
doResponseRedirectOrNotModifiedLogic(HttpServletRequest, HttpServletResponse, HttpResponse, int, URI) - Method in class io.hawt.web.proxy.ProxyServlet
 

E

ENABLE_CORS - Static variable in class io.hawt.web.filters.CORSFilter
 
enabled - Variable in class io.hawt.web.proxy.ProxyServlet
 
encodeUriQuery(CharSequence) - Static method in class io.hawt.web.proxy.ProxyServlet
Encodes characters in the query or fragment part of the URI.
equals(Object) - Method in class io.hawt.system.RBACMBeanInvoker.CanInvokeKey
 
equals(Object, Object) - Static method in class io.hawt.util.Objects
 
evaluate(T) - Method in interface io.hawt.util.Predicate
 
extractAuthHeader(HttpServletRequest, BiConsumer<String, String>) - Static method in class io.hawt.system.Authenticator
Extracts username/password from Authorization header.

F

fabricMBean - Variable in class io.hawt.system.ProxyAllowlist
 
FileDTO - Class in io.hawt.jmx
File DTO
FileDTO(File) - Constructor for class io.hawt.jmx.FileDTO
 
FileFilters - Class in io.hawt.util
A number of helper functions for creating FileFilter objects on a File object.
FileFilters() - Constructor for class io.hawt.util.FileFilters
 
FileLocker - Class in io.hawt.util
A simple API to a file lock
FileLocker(File) - Constructor for class io.hawt.util.FileLocker
 
Files - Class in io.hawt.util
 
Files() - Constructor for class io.hawt.util.Files
 
filterRegex(List<String>) - Method in class io.hawt.system.ProxyAllowlist
 
findClass(String) - Method in class io.hawt.util.introspect.support.ClassScanner
Finds a class from its name
findClassNames(String, Integer) - Method in class io.hawt.util.introspect.support.ClassScanner
Searches for the available class names given the text search
findClassNames(Map<Package, ClassLoader[]>, Predicate<String>, Integer) - Method in class io.hawt.util.introspect.support.ClassScanner
 
findClassNamesInDirectoryWithMethodAnnotatedWith(File, String) - Method in class io.hawt.util.introspect.support.ClassScanner
 
findClassNamesInPackages(String, Integer, Map<Package, ClassLoader[]>) - Method in class io.hawt.util.introspect.support.ClassScanner
 
findClassNamesMethodsAnnotatedWith(String) - Method in class io.hawt.util.introspect.support.ClassScanner
 
findClassNamesMethodsAnnotatedWith(String, Integer, Map<Package, ClassLoader[]>) - Method in class io.hawt.util.introspect.support.ClassScanner
 
findPackagesForClassLoader(ClassLoader) - Static method in class io.hawt.util.introspect.support.Packages
 
FlightRecordingDownloadFacade - Class in io.hawt.web.filters
I emulate a non-existing operation jdk.management.jfr:type=FlightRecorder/downloadRecording(long) executing a sequence of jolokia calls to methods on the FlightRecorder MBean in order to continously write to the clients stream This is important as flight recording files may be huge
FlightRecordingDownloadFacade() - Constructor for class io.hawt.web.filters.FlightRecordingDownloadFacade
 
ForbiddenReason - Enum in io.hawt.web
 
FORCE_PROPERTIES - Static variable in class io.hawt.system.ConfigManager
Hawtio system property: Boolean flag indicating whether JNDI configuration should be skipped in preference of system properties.
Function<T,​R> - Interface in io.hawt.util
When we move to Java 8 we can switch this to be java.util.function.Function

G

get(String) - Method in class io.hawt.system.ConfigManager
 
getAbsolutePath() - Method in class io.hawt.jmx.FileDTO
 
getAddresses() - Static method in class io.hawt.util.Hosts
Returns a Set of InetAddress that are non-loopback or mac.
getAllClassesMap() - Method in class io.hawt.util.introspect.support.ClassScanner
Returns all the classes found in a sorted map
getAppConfigurationEntry(String) - Method in class io.hawt.web.tomcat.TomcatLoginContextConfiguration
 
getBoolean(String, boolean) - Method in class io.hawt.system.ConfigManager
 
getClassesForPackage(ClassResource, String, Integer) - Method in class io.hawt.util.introspect.support.ClassScanner
 
getClassesMap(Package...) - Method in class io.hawt.util.introspect.support.ClassScanner
Returns all the classes found in a sorted map for the given list of packages
getClassLoader() - Method in interface io.hawt.util.introspect.ClassLoaderProvider
Returns the ClassLoader or null if one is not available
getClassLoaders() - Method in class io.hawt.util.introspect.support.ClassScanner
 
getClassNames() - Method in class io.hawt.util.introspect.support.CacheValue
 
getComponents() - Method in class io.hawt.web.auth.RelativeRequestUri
Gets components of the uri.
getConfigParameter(String) - Method in class io.hawt.web.filters.HttpHeaderFilter
 
getConfiguration() - Method in class io.hawt.web.auth.AuthenticationConfiguration
 
getConfiguration(ServletContext) - Static method in class io.hawt.web.auth.AuthenticationConfiguration
 
getContainerName() - Method in interface io.hawt.web.auth.AuthenticationContainerDiscovery
Gets the container name such as Apache Tomcat, used for logging purpose
getContainerName() - Method in class io.hawt.web.tomcat.TomcatAuthenticationContainerDiscovery
 
getCounter() - Method in class io.hawt.jmx.JmxTreeWatcher
 
getCounter() - Method in interface io.hawt.jmx.JmxTreeWatcherMBean
 
getDefaultObjectName() - Method in class io.hawt.jmx.JMXSecurity
 
getDefaultObjectName() - Method in class io.hawt.util.MBeanSupport
 
getFactory() - Static method in class io.hawt.util.XmlHelper
 
getFactory() - Method in class io.hawt.util.XmlNamespaceFinder
 
getFileName() - Method in class io.hawt.jmx.FileDTO
 
getFullProxyUrl() - Method in interface io.hawt.web.proxy.ProxyAddress
 
getFullProxyUrl() - Method in class io.hawt.web.proxy.ProxyDetails
 
getHawtioVersion() - Method in class io.hawt.jmx.About
 
getHawtioVersion() - Method in interface io.hawt.jmx.AboutMBean
 
getHost() - Method in class io.hawt.web.proxy.ProxyDetails
 
getHostAndPort() - Method in class io.hawt.web.proxy.ProxyDetails
 
getIgnorePackages() - Method in class io.hawt.util.introspect.support.ClassScanner
 
getJavaResourceKey(URL) - Method in class io.hawt.util.introspect.support.ClassScanner
 
getKeycloakUsername(HttpServletRequest) - Method in class io.hawt.web.auth.keycloak.KeycloakUserServlet
With Keycloak integration, the Authorization header is available in the request to the UserServlet.
getLastComponent() - Method in class io.hawt.web.auth.RelativeRequestUri
Gets the last component of request uri.
getLength() - Method in class io.hawt.jmx.FileDTO
 
getLocalHostName() - Static method in class io.hawt.util.Hosts
Returns the local hostname.
getLocalIp() - Static method in class io.hawt.util.Hosts
Returns the local IP.
getLock(File) - Static method in class io.hawt.util.FileLocker
Attempts to grab the lock for the given file, returning a FileLock if the lock has been created; otherwise it returns null
getMBeanServer() - Method in class io.hawt.util.MBeanSupport
 
getMimeType(File) - Static method in class io.hawt.util.Files
 
getName() - Method in class io.hawt.web.tomcat.TomcatPrincipal
 
getNamespaces() - Method in class io.hawt.util.XmlNamespaceFinder
 
getNamespaces(File) - Static method in class io.hawt.util.XmlHelper
Returns the namespace URIs found in the given XML file
getNamespaces(InputSource) - Static method in class io.hawt.util.XmlHelper
Returns the namespace URIs found in the given XML file
getNetworkInterfaceAddresses(boolean) - Static method in class io.hawt.util.Hosts
Returns a Set of InetAddress per NetworkInterface as a Map.
getNotificationFilter() - Method in class io.hawt.jmx.JmxTreeWatcher
 
getNotificationFilter() - Method in class io.hawt.jmx.PluginRegistry
 
getNotificationListener() - Method in class io.hawt.jmx.JmxTreeWatcher
 
getNotificationListener() - Method in class io.hawt.jmx.PluginRegistry
 
getObjectName() - Method in class io.hawt.jmx.About
 
getObjectName() - Method in class io.hawt.jmx.JmxTreeWatcher
 
getObjectName() - Method in class io.hawt.jmx.PluginRegistry
 
getObjectName() - Method in class io.hawt.jmx.QuartzFacade
 
getObjectName() - Method in class io.hawt.util.MBeanSupport
 
getPackage(String) - Method in class io.hawt.util.introspect.support.Packages.IntrospectClassLoader
 
getPackageMap(List<ClassLoader>, Set<String>) - Static method in class io.hawt.util.introspect.support.Packages
 
getPackageName() - Method in class io.hawt.util.introspect.support.ClassResource
 
getPackageRelativePath(String) - Method in class io.hawt.util.introspect.support.ClassScanner
 
getPackages() - Method in class io.hawt.util.introspect.support.Packages.IntrospectClassLoader
 
getPassword() - Method in interface io.hawt.web.proxy.ProxyAddress
 
getPassword() - Method in class io.hawt.web.proxy.ProxyDetails
 
getPath() - Method in class io.hawt.web.proxy.ProxyDetails
 
getPort() - Method in class io.hawt.web.proxy.ProxyDetails
 
getPrefix() - Method in class io.hawt.web.auth.RelativeRequestUri
Gets the absolute path from the context root to the start of the uri.
getProxyHostAndPort() - Method in class io.hawt.web.proxy.ProxyDetails
 
getProxyPath() - Method in class io.hawt.web.proxy.ProxyDetails
 
getRealm() - Method in class io.hawt.web.auth.AuthenticationConfiguration
 
getRelativePath(File, File) - Static method in class io.hawt.util.Files
 
getRequest() - Method in class io.hawt.web.auth.RelativeRequestUri
Gets the original HTTP request.
getResource() - Method in class io.hawt.util.introspect.support.ClassResource
 
getResources(String, ClassLoader...) - Method in class io.hawt.util.introspect.support.ClassScanner
 
getRole() - Method in class io.hawt.web.auth.AuthenticationConfiguration
 
getRolePrincipalClasses() - Method in class io.hawt.web.auth.AuthenticationConfiguration
 
getScheme() - Method in class io.hawt.web.proxy.ProxyDetails
 
getServletInfo() - Method in class io.hawt.web.proxy.ProxyServlet
 
getSessionTimeout(ServletContext) - Static method in class io.hawt.web.auth.AuthSessionHelpers
 
getStringProxyURL() - Method in class io.hawt.web.proxy.ProxyDetails
 
getUpdateCounter() - Method in class io.hawt.jmx.PluginRegistry
 
getUpdateCounter() - Method in interface io.hawt.jmx.PluginRegistryMBean
 
getUri() - Method in class io.hawt.web.auth.RelativeRequestUri
Gets the uri.
getUsername(Subject) - Static method in class io.hawt.system.AuthHelpers
 
getUsername(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.auth.keycloak.KeycloakUserServlet
 
getUsername(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.auth.UserServlet
 
getUserName() - Method in interface io.hawt.web.proxy.ProxyAddress
 
getUserName() - Method in class io.hawt.web.proxy.ProxyDetails
 
getUserPasswordRole(String) - Method in class io.hawt.web.tomcat.TomcatUserDatabaseLoginContext
 
getVersion() - Method in class io.hawt.jmx.JmxTreeWatcher
 
getVersion(Class<?>, String, String) - Static method in class io.hawt.util.Objects
Returns the version of the given class's package or the group and artifact of the jar

H

hasAnnotation(AnnotatedElement, Class<? extends Annotation>, boolean) - Static method in class io.hawt.util.ReflectionHelper
Checks if a Class or Method are annotated with the given annotation
hashCode() - Method in class io.hawt.system.RBACMBeanInvoker.CanInvokeKey
 
hasMethodWithAnnotation(Class<?>, Class<? extends Annotation>, boolean) - Static method in class io.hawt.util.ReflectionHelper
Returns true if the given type has a method with the given annotation
hasNoCredentials() - Method in class io.hawt.system.Authenticator
 
HAWTIO_ACCESS_CONTROL_ALLOW_ORIGIN - Static variable in class io.hawt.web.filters.CORSFilter
 
HAWTIO_ALLOW_X_FRAME_SAME_ORIGIN - Static variable in class io.hawt.web.filters.HttpHeaderFilter
 
HAWTIO_AUTH_CONTAINER_DISCOVERY_CLASSES - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
HAWTIO_AUTHENTICATION_ENABLED - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
HAWTIO_DISABLE_PROXY - Static variable in class io.hawt.web.proxy.ProxyServlet
 
HAWTIO_ENABLE_CORS - Static variable in class io.hawt.web.filters.CORSFilter
 
HAWTIO_KEYCLOAK_CLIENT_CONFIG - Static variable in class io.hawt.web.auth.keycloak.KeycloakServlet
 
HAWTIO_KEYCLOAK_ENABLED - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
HAWTIO_LOCAL_ADDRESS_PROBING - Static variable in class io.hawt.web.proxy.ProxyServlet
 
HAWTIO_NO_CREDENTIALS_401 - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
HAWTIO_PROXY_ALLOWLIST - Static variable in class io.hawt.web.proxy.ProxyServlet
 
HAWTIO_REALM - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
HAWTIO_REDIRECT_SCHEME - Static variable in class io.hawt.web.auth.Redirector
 
HAWTIO_REFERRER_POLICY - Static variable in class io.hawt.web.filters.ReferrerPolicyFilter
 
HAWTIO_ROLE - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
HAWTIO_ROLE_PRINCIPAL_CLASSES - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
HAWTIO_ROLES - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
HawtioContextListener - Class in io.hawt
A ServletContextListener which initialises key hawtio services in the webapp
HawtioContextListener() - Constructor for class io.hawt.HawtioContextListener
 
HawtioContextListener(ConfigManager) - Constructor for class io.hawt.HawtioContextListener
 
HEADER_AUTHORIZATION - Static variable in class io.hawt.system.Authenticator
 
HEADER_HAWTIO_FORBIDDEN_REASON - Static variable in class io.hawt.web.ServletHelpers
 
hopByHopHeaders - Static variable in class io.hawt.web.proxy.ProxyServlet
These are the "hop-by-hop" headers that should not be copied.
HOST_NOT_ALLOWED - io.hawt.web.ForbiddenReason
 
Hosts - Class in io.hawt.util
Copied from Fabric8 v1 io.fabric8.utils.HostUtils
HttpHeaderFilter - Class in io.hawt.web.filters
Abstract servlet filter for applying HTTP headers to responses.
HttpHeaderFilter() - Constructor for class io.hawt.web.filters.HttpHeaderFilter
 

I

indexOf(String, String...) - Method in class io.hawt.web.proxy.ProxyDetails
Returns the lowest index of the given list of values
init() - Method in class io.hawt.jmx.About
 
init() - Method in class io.hawt.jmx.JmxTreeWatcher
 
init() - Method in class io.hawt.jmx.PluginRegistry
 
init() - Method in class io.hawt.jmx.QuartzFacade
 
init() - Method in class io.hawt.jmx.RBACRegistry
 
init() - Method in class io.hawt.system.ConfigManager
 
init() - Method in class io.hawt.util.MBeanSupport
 
init() - Method in class io.hawt.web.auth.keycloak.KeycloakServlet
 
init() - Method in class io.hawt.web.auth.keycloak.KeycloakUserServlet
 
init() - Method in class io.hawt.web.auth.LoginServlet
 
init() - Method in class io.hawt.web.auth.LogoutServlet
 
init() - Method in class io.hawt.web.auth.UserServlet
 
init() - Method in class io.hawt.web.plugin.PluginServlet
 
init(FilterConfig) - Method in class io.hawt.web.auth.AuthenticationFilter
 
init(FilterConfig) - Method in class io.hawt.web.auth.LoginRedirectFilter
 
init(FilterConfig) - Method in class io.hawt.web.auth.SessionExpiryFilter
 
init(FilterConfig) - Method in class io.hawt.web.filters.BaseTagHrefFilter
 
init(FilterConfig) - Method in class io.hawt.web.filters.CacheHeadersFilter
 
init(FilterConfig) - Method in class io.hawt.web.filters.ContentSecurityPolicyFilter
 
init(FilterConfig) - Method in class io.hawt.web.filters.CORSFilter
 
init(FilterConfig) - Method in class io.hawt.web.filters.FlightRecordingDownloadFacade
 
init(FilterConfig) - Method in class io.hawt.web.filters.HttpHeaderFilter
 
init(FilterConfig) - Method in class io.hawt.web.filters.PublicKeyPinningFilter
 
init(FilterConfig) - Method in class io.hawt.web.filters.ReferrerPolicyFilter
 
init(FilterConfig) - Method in class io.hawt.web.filters.StrictTransportSecurityFilter
 
init(FilterConfig) - Method in class io.hawt.web.filters.XFrameOptionsFilter
 
init(ServletConfig) - Method in class io.hawt.web.proxy.ProxyServlet
 
init(ServletConfig) - Method in class io.hawt.web.servlets.JolokiaConfiguredAgentServlet
 
initCaches() - Method in class io.hawt.system.RBACMBeanInvoker
 
initDelegate(Configuration) - Method in class io.hawt.system.RBACRestrictor
 
initialiseAllowlist() - Method in class io.hawt.system.ProxyAllowlist
 
initialize(Subject, CallbackHandler, Map<String, ?>, Map<String, ?>) - Method in class io.hawt.web.tomcat.TomcatUserDatabaseLoginContext
 
initSecurityMBean() - Method in class io.hawt.system.RBACMBeanInvoker
 
initSubject() - Method in class io.hawt.system.Authenticator
 
IntrospectClassLoader(ClassLoader) - Constructor for class io.hawt.util.introspect.support.Packages.IntrospectClassLoader
 
invokeMBean() - Method in class io.hawt.system.ProxyAllowlist
 
invokeMethod(Method, Object, Object...) - Static method in class io.hawt.util.ReflectionHelper
A helper method to invoke a method via reflection and wrap any exceptions as RuntimeException instances
io.hawt - package io.hawt
 
io.hawt.jmx - package io.hawt.jmx
 
io.hawt.system - package io.hawt.system
 
io.hawt.util - package io.hawt.util
 
io.hawt.util.introspect - package io.hawt.util.introspect
 
io.hawt.util.introspect.support - package io.hawt.util.introspect.support
 
io.hawt.web - package io.hawt.web
 
io.hawt.web.auth - package io.hawt.web.auth
 
io.hawt.web.auth.keycloak - package io.hawt.web.auth.keycloak
 
io.hawt.web.filters - package io.hawt.web.filters
 
io.hawt.web.plugin - package io.hawt.web.plugin
 
io.hawt.web.proxy - package io.hawt.web.proxy
 
io.hawt.web.servlets - package io.hawt.web.servlets
 
io.hawt.web.tomcat - package io.hawt.web.tomcat
 
IOHelper - Class in io.hawt.util
A collection of IO helpers
IOHelper() - Constructor for class io.hawt.util.IOHelper
 
isAllowed(ProxyDetails) - Method in class io.hawt.system.ProxyAllowlist
 
isAllowed(List<Pattern>) - Method in class io.hawt.web.proxy.ProxyDetails
 
isAllowed(Set<String>) - Method in class io.hawt.web.proxy.ProxyDetails
 
isAttributeReadAllowed(ObjectName, String) - Method in class io.hawt.system.RBACRestrictor
 
isAttributeWriteAllowed(ObjectName, String) - Method in class io.hawt.system.RBACRestrictor
 
isAuthenticated(HttpSession) - Static method in class io.hawt.web.auth.AuthSessionHelpers
 
isBlank(String) - Static method in class io.hawt.util.Strings
 
isEnabled() - Method in class io.hawt.web.auth.AuthenticationConfiguration
 
isHttpMethodAllowed(HttpMethod) - Method in class io.hawt.system.RBACRestrictor
 
isKeycloakEnabled() - Method in class io.hawt.web.auth.AuthenticationConfiguration
 
isNoCredentials401() - Method in class io.hawt.web.auth.AuthenticationConfiguration
 
isNotBlank(String) - Static method in class io.hawt.util.Strings
 
isOperationAllowed(ObjectName, String) - Method in class io.hawt.system.RBACRestrictor
 
isOriginAllowed(String, boolean) - Method in class io.hawt.system.RBACRestrictor
 
isReadAllowed(ObjectName, String) - Method in class io.hawt.system.RBACMBeanInvoker
 
isRemoteAccessAllowed(String...) - Method in class io.hawt.system.RBACRestrictor
 
isSpringSecurityEnabled() - Static method in class io.hawt.web.auth.AuthSessionHelpers
 
isTypeAllowed(RequestType) - Method in class io.hawt.system.RBACRestrictor
 
isUsernamePasswordSet() - Method in class io.hawt.system.Authenticator
 
isValid() - Method in class io.hawt.web.proxy.ProxyDetails
 
isWriteAllowed(ObjectName, String) - Method in class io.hawt.system.RBACMBeanInvoker
 
isXFrameSameOriginAllowed() - Method in class io.hawt.web.filters.HttpHeaderFilter
 

J

JmxHelpers - Class in io.hawt.system
Helpers for JMX
JmxHelpers() - Constructor for class io.hawt.system.JmxHelpers
 
JMXSecurity - Class in io.hawt.jmx
Dummy version that implements JMXSecurityMBean that lets the current user invoke anything
JMXSecurity() - Constructor for class io.hawt.jmx.JMXSecurity
 
JMXSecurityMBean - Interface in io.hawt.jmx
Snagged from Apache Karaf 3.x
JMXSecurityMBean.SecurityMBeanOpenTypeInitializer - Class in io.hawt.jmx
 
JmxTreeWatcher - Class in io.hawt.jmx
A simple MBean to watch the JMX tree, so it's easy for clients to know when they should refresh their JMX trees (which typically isn't a cheap operation).
JmxTreeWatcher() - Constructor for class io.hawt.jmx.JmxTreeWatcher
 
JmxTreeWatcherMBean - Interface in io.hawt.jmx
 
JolokiaConfiguredAgentServlet - Class in io.hawt.web.servlets
Decorator class around Jolokia native AgentServlet.
JolokiaConfiguredAgentServlet() - Constructor for class io.hawt.web.servlets.JolokiaConfiguredAgentServlet
 

K

KEYCLOAK_CLIENT_CONFIG - Static variable in class io.hawt.web.auth.keycloak.KeycloakServlet
 
KEYCLOAK_ENABLED - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
KeycloakServlet - Class in io.hawt.web.auth.keycloak
Servlet, which aims to return: - whether keycloak is enabled (true/false) if path '/enabled' is used - keycloak.json to be used by keycloak JS adapter on frontend if path '/client-config' is used - validate if current JAAS logged subject is same like SSO user logged through keycloak if path '/validate-subject-matches' is used
KeycloakServlet() - Constructor for class io.hawt.web.auth.keycloak.KeycloakServlet
 
KeycloakUserServlet - Class in io.hawt.web.auth.keycloak
 
KeycloakUserServlet() - Constructor for class io.hawt.web.auth.keycloak.KeycloakUserServlet
 
KNOWN_PRINCIPALS - Static variable in class io.hawt.system.AuthHelpers
 

L

list() - Method in class io.hawt.jmx.RBACRegistry
 
list() - Method in interface io.hawt.jmx.RBACRegistryMBean
Returns Map (that can be nicely handled by Jolokia) containing everything that is initially needed by hawtio client application.
loadFile(String) - Static method in class io.hawt.web.ServletHelpers
 
loadMBeanAttributes(ObjectName) - Method in class io.hawt.system.RBACMBeanInvoker
 
LOCAL_ADDRESS_PROBING - Static variable in class io.hawt.web.proxy.ProxyServlet
 
LOG - Static variable in class io.hawt.jmx.RBACRegistry
 
login() - Method in class io.hawt.web.tomcat.TomcatUserDatabaseLoginContext
 
login(Subject, String, Configuration) - Method in class io.hawt.system.Authenticator
 
LOGIN_URL - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
LoginRedirectFilter - Class in io.hawt.web.auth
Redirect to login page when authentication is enabled.
LoginRedirectFilter() - Constructor for class io.hawt.web.auth.LoginRedirectFilter
 
LoginRedirectFilter(String[]) - Constructor for class io.hawt.web.auth.LoginRedirectFilter
 
LoginServlet - Class in io.hawt.web.auth
Login servlet
LoginServlet() - Constructor for class io.hawt.web.auth.LoginServlet
 
logout() - Method in class io.hawt.web.tomcat.TomcatUserDatabaseLoginContext
 
logout(AuthenticationConfiguration, Subject) - Static method in class io.hawt.system.Authenticator
 
LogoutServlet - Class in io.hawt.web.auth
Logout servlet
LogoutServlet() - Constructor for class io.hawt.web.auth.LogoutServlet
 

M

mbeanInfoCache - Variable in class io.hawt.system.RBACMBeanInvoker
 
mBeanInvoker - Variable in class io.hawt.system.RBACRestrictor
 
mBeanServer - Variable in class io.hawt.system.ProxyAllowlist
 
mBeanServer - Variable in class io.hawt.system.RBACMBeanInvoker
 
MBeanSupport - Class in io.hawt.util
A helpful base class for MBeans
MBeanSupport() - Constructor for class io.hawt.util.MBeanSupport
 

N

nameEndsWithFilter(String) - Static method in class io.hawt.util.FileFilters
 
nameEqualsFilter(String) - Static method in class io.hawt.util.FileFilters
 
nameStartsWithFilter(String) - Static method in class io.hawt.util.FileFilters
 
newInstance() - Static method in class io.hawt.util.introspect.support.ClassScanner
 
newInstance(Class<T>) - Static method in class io.hawt.util.ReflectionHelper
A helper method to create a new instance of a type using the default constructor arguments.
NO_CREDENTIALS - io.hawt.system.AuthenticateResult
 
NO_CREDENTIALS_401 - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
NONE - io.hawt.web.ForbiddenReason
 
NOT_AUTHORIZED - io.hawt.system.AuthenticateResult
 

O

objectName - Variable in class io.hawt.system.RBACMBeanInvoker.CanInvokeKey
 
Objects - Class in io.hawt.util
Some helper methods - though could be replaced by JDK 1.7 code now in java.util.Objects whenever we are happy to ignore JDK 1.6
Objects() - Constructor for class io.hawt.util.Objects
 
operation - Variable in class io.hawt.system.RBACMBeanInvoker.CanInvokeKey
 
OPTION_DIGEST_ALGORITHM - Static variable in class io.hawt.web.tomcat.TomcatUserDatabaseLoginContext
 
OPTION_TOMCAT_USER_LOCATION - Static variable in class io.hawt.web.tomcat.TomcatUserDatabaseLoginContext
 
optionallyFindAnnotationClass(String) - Method in class io.hawt.util.introspect.support.ClassScanner
 
optionallyFindClass(String) - Method in class io.hawt.util.introspect.support.ClassScanner
Returns the given class or null if it cannot be loaded
optionallyFindClasses(Iterable<String>) - Method in class io.hawt.util.introspect.support.ClassScanner
Tries to find as many of the class names on the class loaders as possible and return them

P

P_FORWARDEDFOR - Static variable in class io.hawt.web.proxy.ProxyServlet
A boolean parameter name to enable forwarding of the client IP
Packages - Class in io.hawt.util.introspect.support
 
Packages() - Constructor for class io.hawt.util.introspect.support.Packages
 
Packages.IntrospectClassLoader - Class in io.hawt.util.introspect.support
 
PARAM_APPLICATION_CONTEXT_PATH - Static variable in class io.hawt.web.filters.BaseTagHrefFilter
 
parseContents(InputSource) - Method in class io.hawt.util.XmlNamespaceFinder
 
parseProxyAddress(HttpServletRequest) - Method in class io.hawt.web.proxy.ProxyServlet
 
passwordsMatch(TomcatUserDatabaseLoginContext.PasswordPair) - Method in class io.hawt.web.tomcat.TomcatUserDatabaseLoginContext
 
PluginRegistry - Class in io.hawt.jmx
Hawtio plugin registry
PluginRegistry() - Constructor for class io.hawt.jmx.PluginRegistry
 
PluginRegistryMBean - Interface in io.hawt.jmx
 
PluginServlet - Class in io.hawt.web.plugin
Plugin servlet
PluginServlet() - Constructor for class io.hawt.web.plugin.PluginServlet
 
Predicate<T> - Interface in io.hawt.util
Evaluates the predicate on the given value
PREFERED_ADDRESS_PROPERTY_NAME - Static variable in class io.hawt.util.Hosts
 
processDirectory(File, String, Set<Class<?>>, String, Integer) - Method in class io.hawt.util.introspect.support.ClassScanner
 
processDirectoryClassNames(File, String, Set<String>) - Method in class io.hawt.util.introspect.support.ClassScanner
 
processJar(ClassResource, Set<Class<?>>, String, Integer) - Method in class io.hawt.util.introspect.support.ClassScanner
 
processJarClassNames(ClassResource, Set<String>) - Method in class io.hawt.util.introspect.support.ClassScanner
 
PROXY_ALLOWLIST - Static variable in class io.hawt.web.proxy.ProxyServlet
 
ProxyAddress - Interface in io.hawt.web.proxy
Proxy address interface.
ProxyAllowlist - Class in io.hawt.system
Allowlist manager for hawtio proxy.
ProxyAllowlist(String) - Constructor for class io.hawt.system.ProxyAllowlist
 
ProxyAllowlist(String, boolean) - Constructor for class io.hawt.system.ProxyAllowlist
 
proxyClient - Variable in class io.hawt.web.proxy.ProxyServlet
 
ProxyDetails - Class in io.hawt.web.proxy
A helper object to store the proxy location details
ProxyDetails(String) - Constructor for class io.hawt.web.proxy.ProxyDetails
 
ProxyDetails(HttpServletRequest) - Constructor for class io.hawt.web.proxy.ProxyDetails
 
ProxyServlet - Class in io.hawt.web.proxy
An HTTP reverse proxy/gateway servlet.
ProxyServlet() - Constructor for class io.hawt.web.proxy.ProxyServlet
 
PublicKeyPinningFilter - Class in io.hawt.web.filters
https://developer.mozilla.org/en-US/docs/Web/HTTP/Public_Key_Pinning
PublicKeyPinningFilter() - Constructor for class io.hawt.web.filters.PublicKeyPinningFilter
 
PWD_PARAM - Static variable in class io.hawt.web.proxy.ProxyDetails
 

Q

QuartzFacade - Class in io.hawt.jmx
 
QuartzFacade() - Constructor for class io.hawt.jmx.QuartzFacade
 
QuartzFacadeMBean - Interface in io.hawt.jmx
 

R

RBACMBeanInvoker - Class in io.hawt.system
Cached MBean server invoker for RBACRestrictor.
RBACMBeanInvoker() - Constructor for class io.hawt.system.RBACMBeanInvoker
 
RBACMBeanInvoker.CanInvokeKey - Class in io.hawt.system
 
RBACRegistry - Class in io.hawt.jmx
Generally we do enhanced Jolokia list operation, but if OSGi env is found we decorate the returned objects with RBAC information.
RBACRegistry() - Constructor for class io.hawt.jmx.RBACRegistry
 
RBACRegistryMBean - Interface in io.hawt.jmx
MBean that optimizes access to Karaf's RBAC services.
RBACRestrictor - Class in io.hawt.system
Jolokia restrictor that protects MBean server invocation inside Jolokia based on RBAC provided by JMXSecurityMBean.
RBACRestrictor(Configuration) - Constructor for class io.hawt.system.RBACRestrictor
 
readBytes(File) - Static method in class io.hawt.util.Files
Reads a File and returns the data as a byte array
readFully(BufferedReader) - Static method in class io.hawt.util.IOHelper
Reads the entire reader into memory as a String
readFully(File) - Static method in class io.hawt.util.IOHelper
 
readObject(BufferedReader) - Static method in class io.hawt.web.ServletHelpers
 
REALM - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
recursiveDelete(File) - Static method in class io.hawt.util.Files
Recursively deletes the given file whether it's a file or directory returning the number of files deleted
redirector - Variable in class io.hawt.web.auth.LogoutServlet
 
Redirector - Class in io.hawt.web.auth
Helper class to perform redirects and forwards which can also be made aware of the Hawtio context path configured for Spring Boot
Redirector() - Constructor for class io.hawt.web.auth.Redirector
 
REFERRER_POLICY - Static variable in class io.hawt.web.filters.ReferrerPolicyFilter
 
ReferrerPolicyFilter - Class in io.hawt.web.filters
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy
ReferrerPolicyFilter() - Constructor for class io.hawt.web.filters.ReferrerPolicyFilter
 
ReflectionHelper - Class in io.hawt.util
 
ReflectionHelper() - Constructor for class io.hawt.util.ReflectionHelper
 
regexAllowlist - Variable in class io.hawt.system.ProxyAllowlist
 
RelativeRequestUri - Class in io.hawt.web.auth
URI path relative to a given index.
RelativeRequestUri(HttpServletRequest, int) - Constructor for class io.hawt.web.auth.RelativeRequestUri
Constructor.
rewriteUrlFromResponse(HttpServletRequest, String, String) - Method in class io.hawt.web.proxy.ProxyServlet
For a redirect response from the target server, this translates theUrl to redirect to and translates it to one the original client can use.
ROLE - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
ROLE_PRINCIPAL_CLASSES - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
ROLES - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 

S

sanitize(String) - Static method in class io.hawt.util.Strings
Strip out any annoying to deal with characters from a string when used as a file or directory name
sanitizeDirectory(String) - Static method in class io.hawt.util.Strings
Also remove any dots in the directory name
securityMBean - Variable in class io.hawt.system.RBACMBeanInvoker
 
SecurityMBeanOpenTypeInitializer() - Constructor for class io.hawt.jmx.JMXSecurityMBean.SecurityMBeanOpenTypeInitializer
 
sendJSONResponse(HttpServletResponse, boolean) - Static method in class io.hawt.web.ServletHelpers
 
sendJSONResponse(HttpServletResponse, String) - Static method in class io.hawt.web.ServletHelpers
 
service(HttpServletRequest, HttpServletResponse) - Method in class io.hawt.web.proxy.ProxyServlet
 
SERVLET_PATH - Static variable in class io.hawt.web.auth.SessionExpiryFilter
Hawtio system property: The name of the servlet context attribute holding hawtio deployment path relative to the context root.
ServletHelpers - Class in io.hawt.web
Helpers for servlet
ServletHelpers() - Constructor for class io.hawt.web.ServletHelpers
 
SessionExpiryFilter - Class in io.hawt.web.auth
If the user has a session, this will ensure it will expire if the user hasn't clicked on any links within the session expiry period
SessionExpiryFilter() - Constructor for class io.hawt.web.auth.SessionExpiryFilter
 
setAbsolutePath(String) - Method in class io.hawt.jmx.FileDTO
 
setApplicationContextPath(String) - Method in class io.hawt.web.auth.Redirector
 
setClassLoaderProvider(String, ClassLoaderProvider) - Method in class io.hawt.util.introspect.support.ClassScanner
Registers a named class loader provider or removes it if the classLoaderProvider is null
setClassNames(SortedSet<String>) - Method in class io.hawt.util.introspect.support.CacheValue
 
setConfiguration(Configuration) - Method in class io.hawt.web.auth.AuthenticationConfiguration
 
setFactory(SAXParserFactory) - Static method in class io.hawt.util.XmlHelper
 
setFactory(SAXParserFactory) - Method in class io.hawt.util.XmlNamespaceFinder
 
setFileName(String) - Method in class io.hawt.jmx.FileDTO
 
setIgnorePackages(Set<String>) - Method in class io.hawt.util.introspect.support.ClassScanner
 
setLength(long) - Method in class io.hawt.jmx.FileDTO
 
setMBeanServer(MBeanServer) - Method in class io.hawt.util.MBeanSupport
 
setObjectName(ObjectName) - Method in class io.hawt.util.MBeanSupport
 
setRedirector(Redirector) - Method in class io.hawt.web.auth.LoginRedirectFilter
 
setRedirector(Redirector) - Method in class io.hawt.web.auth.LoginServlet
 
setRedirector(Redirector) - Method in class io.hawt.web.auth.LogoutServlet
 
setRolePrincipalClasses(String) - Method in class io.hawt.web.auth.AuthenticationConfiguration
 
setup(HttpSession, Subject, String, int) - Static method in class io.hawt.web.auth.AuthSessionHelpers
 
split(String, String) - Static method in class io.hawt.util.Strings
 
SpringBatchConfigServlet - Class in io.hawt.web.servlets
 
SpringBatchConfigServlet() - Constructor for class io.hawt.web.servlets.SpringBatchConfigServlet
 
startElement(String, String, String, Attributes) - Method in class io.hawt.util.XmlNamespaceFinder
 
StrictTransportSecurityFilter - Class in io.hawt.web.filters
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
StrictTransportSecurityFilter() - Constructor for class io.hawt.web.filters.StrictTransportSecurityFilter
 
Strings - Class in io.hawt.util
String utility.
Strings() - Constructor for class io.hawt.util.Strings
 
strip(String, String) - Static method in class io.hawt.util.Strings
 

T

timeout - Variable in class io.hawt.web.auth.AuthenticationFilter
 
timeout - Variable in class io.hawt.web.auth.LoginServlet
 
TOMCAT_AUTH_CONTAINER_DISCOVERY - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
TomcatAuthenticationContainerDiscovery - Class in io.hawt.web.tomcat
To use Apache Tomcat using its conf/tomcat-users.xml for authentication.
TomcatAuthenticationContainerDiscovery() - Constructor for class io.hawt.web.tomcat.TomcatAuthenticationContainerDiscovery
 
TomcatLoginContextConfiguration - Class in io.hawt.web.tomcat
Configuration class to avoid having to deal with jaas.config files in the classpath
TomcatLoginContextConfiguration(String, String) - Constructor for class io.hawt.web.tomcat.TomcatLoginContextConfiguration
 
TomcatPrincipal - Class in io.hawt.web.tomcat
A very simple Apache Tomcat Principal.
TomcatPrincipal(String) - Constructor for class io.hawt.web.tomcat.TomcatPrincipal
 
TomcatUserDatabaseLoginContext - Class in io.hawt.web.tomcat
To use Apache Tomcat's conf/tomcat-users.xml user database as JAAS LoginContext, so hawtio can use that for its AuthenticationFilter.
TomcatUserDatabaseLoginContext() - Constructor for class io.hawt.web.tomcat.TomcatUserDatabaseLoginContext
 
toString() - Method in class io.hawt.system.RBACMBeanInvoker.CanInvokeKey
 
toString() - Method in class io.hawt.util.FileLocker
 
toString() - Method in class io.hawt.web.auth.AuthenticationConfiguration
 
toString() - Method in class io.hawt.web.auth.RelativeRequestUri
 
toString() - Method in class io.hawt.web.proxy.ProxyDetails
 
trimString(String, int) - Static method in class io.hawt.util.Strings
 
trueFilter() - Static method in class io.hawt.util.FileFilters
 
tryFindClass(String, String) - Method in class io.hawt.util.introspect.support.ClassScanner
 

U

UNSECURED_PATHS - Static variable in class io.hawt.web.auth.AuthenticationConfiguration
 
update() - Method in class io.hawt.system.ProxyAllowlist
 
updateCronTrigger(String, String, String, int, String, String) - Method in class io.hawt.jmx.QuartzFacade
 
updateCronTrigger(String, String, String, int, String, String) - Method in interface io.hawt.jmx.QuartzFacadeMBean
Updates an existing cron trigger by changing the cron expression
updateSimpleTrigger(String, String, String, int, int, long) - Method in class io.hawt.jmx.QuartzFacade
 
updateSimpleTrigger(String, String, String, int, int, long) - Method in interface io.hawt.jmx.QuartzFacadeMBean
Updates an existing simple trigger by changing the repeat counter and interval values.
USER_PARAM - Static variable in class io.hawt.web.proxy.ProxyDetails
 
username - Variable in class io.hawt.system.RBACMBeanInvoker.CanInvokeKey
 
UserServlet - Class in io.hawt.web.auth
Returns the username associated with the current session, if any
UserServlet() - Constructor for class io.hawt.web.auth.UserServlet
 

V

validate(HttpServletRequest, HttpSession, Subject) - Static method in class io.hawt.web.auth.AuthSessionHelpers
 
validateKeycloakUser(HttpServletRequest, String) - Method in class io.hawt.web.auth.keycloak.KeycloakServlet
 
valueOf(String) - Static method in enum io.hawt.system.AuthenticateResult
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.hawt.web.ForbiddenReason
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.hawt.system.AuthenticateResult
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.hawt.web.ForbiddenReason
Returns an array containing the constants of this enum type, in the order they are declared.

W

webContextPath(String, String...) - Static method in class io.hawt.util.Strings
Creates a web context path from components.
withinLimit(Integer, Collection<?>) - Method in class io.hawt.util.introspect.support.ClassScanner
Returns true if we are within the limit value for the number of results in the collection
write(File, byte[]) - Static method in class io.hawt.util.IOHelper
 
write(File, byte[], boolean) - Static method in class io.hawt.util.IOHelper
Writes the given data to the file; either in append mode or replace mode depending on the append flag.
write(File, String) - Static method in class io.hawt.util.IOHelper
Writes the text to the given file, overwriting the previous file if it existed.
write(File, String, boolean) - Static method in class io.hawt.util.IOHelper
Writes the given text to the file; either in append mode or replace mode depending on the append flag.
writeEmpty(PrintWriter) - Static method in class io.hawt.web.ServletHelpers
 
writeObject(Converters, JsonConvertOptions, PrintWriter, Object) - Static method in class io.hawt.web.ServletHelpers
 

X

XContentTypeOptionsFilter - Class in io.hawt.web.filters
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options
XContentTypeOptionsFilter() - Constructor for class io.hawt.web.filters.XContentTypeOptionsFilter
 
XFrameOptionsFilter - Class in io.hawt.web.filters
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
XFrameOptionsFilter() - Constructor for class io.hawt.web.filters.XFrameOptionsFilter
 
XmlHelper - Class in io.hawt.util
A helper method to get the namespaces on an XML file
XmlHelper() - Constructor for class io.hawt.util.XmlHelper
 
XmlNamespaceFinder - Class in io.hawt.util
 
XmlNamespaceFinder() - Constructor for class io.hawt.util.XmlNamespaceFinder
 
XXSSProtectionFilter - Class in io.hawt.web.filters
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection
XXSSProtectionFilter() - Constructor for class io.hawt.web.filters.XXSSProtectionFilter
 
A B C D E F G H I J K L M N O P Q R S T U V W X 
All Classes All Packages