Class RemoteClusterPermissionGroup

java.lang.Object
org.elasticsearch.xpack.core.security.authz.permission.RemoteClusterPermissionGroup
All Implemented Interfaces:
NamedWriteable, Writeable, ToXContent, ToXContentObject

public class RemoteClusterPermissionGroup extends Object implements NamedWriteable, ToXContentObject
Represents a group of permissions for a remote cluster. For example: { "privileges" : ["monitor_enrich"], "clusters" : ["*"] }
  • Field Details

  • Constructor Details

    • RemoteClusterPermissionGroup

      public RemoteClusterPermissionGroup(StreamInput in) throws IOException
      Throws:
      IOException
    • RemoteClusterPermissionGroup

      public RemoteClusterPermissionGroup(Map<String,List<String>> remoteClusterGroup)
    • RemoteClusterPermissionGroup

      public RemoteClusterPermissionGroup(String[] clusterPrivileges, String[] remoteClusterAliases)
      Parameters:
      clusterPrivileges - The list of cluster privileges that are allowed for the remote cluster. must not be null or empty.
      remoteClusterAliases - The list of remote clusters that the privileges apply to. must not be null or empty.
  • Method Details