public class RBACDecorator extends Object implements RBACDecoratorMBean
An MBean that may be used by hawtio:type=security,name=RBACRegistry
to decorate optimized
jolokia list
operation with RBAC info.
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
RBACDecorator(org.osgi.framework.BundleContext bundleContext) |
Modifier and Type | Method and Description |
---|---|
void |
decorate(Map<String,Object> result)
If we have access to
ConfigurationAdmin , we can add RBAC information |
boolean |
getVerify()
Returns if it is in verify mode.
|
void |
setVerify(boolean verify)
Sets verify mode.
|
public RBACDecorator(org.osgi.framework.BundleContext bundleContext)
public void decorate(Map<String,Object> result) throws Exception
ConfigurationAdmin
, we can add RBAC informationdecorate
in interface RBACDecoratorMBean
result
- Exception
public boolean getVerify()
RBACDecoratorMBean
getVerify
in interface RBACDecoratorMBean
public void setVerify(boolean verify)
RBACDecoratorMBean
setVerify
in interface RBACDecoratorMBean
verify
- verify mode to setCopyright © 2019 JBoss by Red Hat. All rights reserved.