Class OperatorOnlyRegistry

java.lang.Object
org.elasticsearch.xpack.security.operator.OperatorOnlyRegistry

public class OperatorOnlyRegistry extends Object
  • Field Details

    • SIMPLE_ACTIONS

      public static final Set<String> SIMPLE_ACTIONS
  • Constructor Details

    • OperatorOnlyRegistry

      public OperatorOnlyRegistry(org.elasticsearch.common.settings.ClusterSettings clusterSettings)
  • Method Details

    • check

      public OperatorOnlyRegistry.OperatorPrivilegesViolation check(String action, org.elasticsearch.transport.TransportRequest request)
      Check whether the given action and request qualify as operator-only. The method returns null if the action+request is NOT operator-only. Other it returns a violation object that contains the message for details.