public class RBACRestrictor extends Object implements org.jolokia.restrictor.Restrictor
JMXSecurityMBean.| Modifier and Type | Field and Description |
|---|---|
protected org.jolokia.restrictor.Restrictor |
delegate |
protected RBACMBeanInvoker |
mBeanInvoker |
| Constructor and Description |
|---|
RBACRestrictor(org.jolokia.config.Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initDelegate(org.jolokia.config.Configuration config) |
boolean |
isAttributeReadAllowed(ObjectName objectName,
String attribute) |
boolean |
isAttributeWriteAllowed(ObjectName objectName,
String attribute) |
boolean |
isHttpMethodAllowed(org.jolokia.util.HttpMethod method) |
boolean |
isOperationAllowed(ObjectName objectName,
String operation) |
boolean |
isOriginAllowed(String origin,
boolean strictCheck) |
boolean |
isRemoteAccessAllowed(String... hostOrAddress) |
boolean |
isTypeAllowed(org.jolokia.util.RequestType type) |
protected org.jolokia.restrictor.Restrictor delegate
protected RBACMBeanInvoker mBeanInvoker
protected void initDelegate(org.jolokia.config.Configuration config)
public boolean isOperationAllowed(ObjectName objectName, String operation)
isOperationAllowed in interface org.jolokia.restrictor.Restrictorpublic boolean isAttributeReadAllowed(ObjectName objectName, String attribute)
isAttributeReadAllowed in interface org.jolokia.restrictor.Restrictorpublic boolean isAttributeWriteAllowed(ObjectName objectName, String attribute)
isAttributeWriteAllowed in interface org.jolokia.restrictor.Restrictorpublic boolean isHttpMethodAllowed(org.jolokia.util.HttpMethod method)
isHttpMethodAllowed in interface org.jolokia.restrictor.Restrictorpublic boolean isTypeAllowed(org.jolokia.util.RequestType type)
isTypeAllowed in interface org.jolokia.restrictor.Restrictorpublic boolean isRemoteAccessAllowed(String... hostOrAddress)
isRemoteAccessAllowed in interface org.jolokia.restrictor.Restrictorpublic boolean isOriginAllowed(String origin, boolean strictCheck)
isOriginAllowed in interface org.jolokia.restrictor.RestrictorCopyright © 2020 JBoss by Red Hat. All rights reserved.