Class MBeanAccessChecker.Arg

java.lang.Object
org.jolokia.server.core.restrictor.policy.MBeanAccessChecker.Arg
Enclosing class:
MBeanAccessChecker

public static class MBeanAccessChecker.Arg extends Object
Class encapsulation the arguments for the check command
  • Constructor Details

    • Arg

      public Arg(boolean pIsTypeAllowed, RequestType pType, ObjectName pName, String pValue)
      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 check
      pName - the MBean name to check
      pValue - 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

      public RequestType getType()
      Get request type
      Returns:
      type
    • getName

      public ObjectName getName()
      MBean name
      Returns:
      name of MBean
    • getValue

      public String getValue()
      Value which is interpreted as operation or attribute name, dependening on the type
      Returns:
      attribute/operation name