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 RBACDecoratorMBeanresult - Exceptionpublic boolean getVerify()
RBACDecoratorMBeangetVerify in interface RBACDecoratorMBeanpublic void setVerify(boolean verify)
RBACDecoratorMBeansetVerify in interface RBACDecoratorMBeanverify - verify mode to setCopyright © 2018 JBoss by Red Hat. All rights reserved.