@Override
  public boolean authorize(String resource, String permission) {
    try {
      securityService.authorize(Resource.valueOf(resource), Operation.valueOf(permission),
          ResourcePermission.ALL, ResourcePermission.ALL);
      return true;
    } catch (GemFireSecurityException e) {
      return false;
    }
  }
AccessControlMBean Implementation. This retrieves JMXPrincipal from AccessController and performs
authorization for given role using gemfire AccessControl Plugin

@since Geode 1.0
geode-core/src/main/java/org/apache/geode/management/internal/security/AccessControlMBean.java