Module org.elasticsearch.xcore
Class GetUserPrivilegesResponse
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.ActionResponse
org.elasticsearch.xpack.core.security.action.user.GetUserPrivilegesResponse
- All Implemented Interfaces:
Writeable,org.elasticsearch.core.RefCounted
Response for a
GetUserPrivilegesRequest-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis is modelled onRoleDescriptor.IndicesPrivileges, with support for multiple DLS and FLS field sets.static final recordNested classes/interfaces inherited from class org.elasticsearch.action.ActionResponse
ActionResponse.EmptyNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
ConstructorsConstructorDescriptionGetUserPrivilegesResponse(Set<String> cluster, Set<ConfigurableClusterPrivilege> conditionalCluster, Set<GetUserPrivilegesResponse.Indices> index, Set<RoleDescriptor.ApplicationResourcePrivileges> application, Set<String> runAs, Set<GetUserPrivilegesResponse.RemoteIndices> remoteIndex, RemoteClusterPermissions remoteClusterPermissions) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetRunAs()inthashCode()booleanbooleanvoidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.core.RefCounted
mustIncRef
-
Constructor Details
-
GetUserPrivilegesResponse
- Throws:
IOException
-
GetUserPrivilegesResponse
public GetUserPrivilegesResponse(Set<String> cluster, Set<ConfigurableClusterPrivilege> conditionalCluster, Set<GetUserPrivilegesResponse.Indices> index, Set<RoleDescriptor.ApplicationResourcePrivileges> application, Set<String> runAs, Set<GetUserPrivilegesResponse.RemoteIndices> remoteIndex, RemoteClusterPermissions remoteClusterPermissions)
-
-
Method Details
-
getClusterPrivileges
-
getConditionalClusterPrivileges
-
getIndexPrivileges
-
getRemoteIndexPrivileges
-
getRemoteClusterPermissions
-
getApplicationPrivileges
-
getRunAs
-
hasRemoteIndicesPrivileges
public boolean hasRemoteIndicesPrivileges() -
hasRemoteClusterPrivileges
public boolean hasRemoteClusterPrivileges() -
writeTo
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-