Class GlobalOperationPrivilege

java.lang.Object
org.elasticsearch.client.security.user.privileges.GlobalOperationPrivilege
Direct Known Subclasses:
ManageApplicationPrivilege

public class GlobalOperationPrivilege extends Object
Represents generic global cluster privileges that can be scoped by categories and then further by operations. The privilege's syntactic and semantic meaning is specific to each category and operation; there is no general definition template. It is not permitted to define different privileges under the same category and operation.
  • Constructor Details

    • GlobalOperationPrivilege

      public GlobalOperationPrivilege(String category, String operation, Map<String,Object> privilege)
      Constructs privileges under a specific category and for some operation. The privilege definition is flexible, it is a Map, and the semantics is bound to the category and operation.
      Parameters:
      category - The category of the privilege.
      operation - The operation of the privilege.
      privilege - The privilege definition.
  • Method Details