java.lang.Object
org.elasticsearch.xpack.core.security.user.User
org.elasticsearch.xpack.core.security.user.InternalUser
All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject
Direct Known Subclasses:
SystemUser

public class InternalUser extends User
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class User
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class User
    • getLocalClusterRoleDescriptor

      public Optional<RoleDescriptor> getLocalClusterRoleDescriptor()
      The local-cluster role descriptor assigned to this internal user, or Optional.empty() if this user does not have a role. This RoleDescriptor defines the privileges that the internal-user has for requests that originate from a node within the local cluster.
      See Also:
    • getRemoteAccessRoleDescriptor

      public Optional<RoleDescriptor> getRemoteAccessRoleDescriptor()
      The remote-access role descriptor assigned to this internal user, or Optional.empty() if this user is not permitted to make cross-cluster requests. This RoleDescriptor defines the privileges that the internal-user has for requests that run on the current cluster, but originate from a node within an external cluster (via CCS/CCR).
      See Also: