Module org.elasticsearch.xcore
Class InternalUser
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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.core.security.user.User
User.FieldsNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params -
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe local-cluster role descriptor assigned to this internal user, orOptional.empty()if this user does not have a role.The remote-access role descriptor assigned to this internal user, orOptional.empty()if this user is not permitted to make cross-cluster requests.inthashCode()Methods inherited from class org.elasticsearch.xpack.core.security.user.User
email, enabled, fullName, innerToXContent, metadata, principal, roles, toString, toXContent, writeUserMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getLocalClusterRoleDescriptor
The local-cluster role descriptor assigned to this internal user, orOptional.empty()if this user does not have a role. ThisRoleDescriptordefines the privileges that the internal-user has for requests that originate from a node within the local cluster.- See Also:
-
getRemoteAccessRoleDescriptor
The remote-access role descriptor assigned to this internal user, orOptional.empty()if this user is not permitted to make cross-cluster requests. ThisRoleDescriptordefines 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:
-