Package io.hawt.system
Class ProxyAllowlist
java.lang.Object
io.hawt.system.ProxyAllowlist
Allowlist manager for hawtio proxy.
TODO: For now this implementation is heavily relying on Fabric v1, and should be rewritten to a more general form.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CopyOnWriteArraySet<String>protected ObjectNameprotected MBeanServer -
Constructor Summary
ConstructorsConstructorDescriptionProxyAllowlist(String allowlistStr) ProxyAllowlist(String allowlistStr, boolean probeLocal) -
Method Summary
Modifier and TypeMethodDescriptionbuildRegexAllowlist(List<String> allowlist) filterRegex(List<String> allowlist) protected voidbooleanisAllowed(ProxyDetails details) booleanupdate()
-
Field Details
-
allowlist
-
regexAllowlist
-
mBeanServer
-
fabricMBean
-
-
Constructor Details
-
ProxyAllowlist
-
ProxyAllowlist
-
-
Method Details
-
filterRegex
-
buildRegexAllowlist
-
initialiseAllowlist
protected void initialiseAllowlist() -
isAllowed
-
update
public boolean update() -
invokeMBean
-