Class MBeanAccessChecker.Arg
java.lang.Object
org.jolokia.server.core.restrictor.policy.MBeanAccessChecker.Arg
- Enclosing class:
- MBeanAccessChecker
Class encapsulation the arguments for the check command
-
Constructor Summary
ConstructorsConstructorDescriptionArg(boolean pIsTypeAllowed, RequestType pType, ObjectName pName, String pValue) Constructor for this immutable object -
Method Summary
-
Constructor Details
-
Arg
Constructor for this immutable object- Parameters:
pIsTypeAllowed- whether the type is allowed in principal (i.e. whether it is mentioned in s<commands>section)pType- the type to checkpName- the MBean name to checkpValue- attribute or operation to check
-
-
Method Details
-
isTypeAllowed
public boolean isTypeAllowed()Whether the command type is allowed generally.- Returns:
- true if it is allowed
-
getType
Get request type- Returns:
- type
-
getName
MBean name- Returns:
- name of MBean
-
getValue
Value which is interpreted as operation or attribute name, dependening on the type- Returns:
- attribute/operation name
-