Class OperatorOnlyRegistry
java.lang.Object
org.elasticsearch.xpack.security.operator.OperatorOnlyRegistry
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOperatorOnlyRegistry(org.elasticsearch.common.settings.ClusterSettings clusterSettings) -
Method Summary
Modifier and TypeMethodDescriptionCheck whether the given action and request qualify as operator-only.
-
Field Details
-
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.
-