public interface RBACDecoratorMBean
MBean that optimizes access to Karaf's RBAC services.
When doing client-side initialization, hawtio invokes two time-consuming operations:
org.apache.karaf.management.JMXSecurityMBean#canInvoke(java.util.Map)
The role of this MBean is to combine LIST+EXEC/RBAC operations into one - and return map that is complete, but optimized (uses shared JSON elements that can be processed by hawtio client app itself).
Modifier and Type | Method and Description |
---|---|
void |
decorate(Map<String,Object> map)
Decorates
Map (that can be nicely handled by Jolokia) containing everything that is initially
needed by hawtio client application. |
boolean |
getVerify()
Returns if it is in verify mode.
|
void |
setVerify(boolean verify)
Sets verify mode.
|
void decorate(Map<String,Object> map) throws Exception
Map
(that can be nicely handled by Jolokia) containing everything that is initially
needed by hawtio client application. It's an optimized and dedicated method that runs much faster than
sequence of relevant Jolokia operations (LIST+EXEC with maxDepth=7).Exception
boolean getVerify()
void setVerify(boolean verify)
verify
- verify mode to setCopyright © 2019 JBoss by Red Hat. All rights reserved.