Module org.elasticsearch.xcore
Class GetUserPrivilegesResponse.Indices
java.lang.Object
org.elasticsearch.xpack.core.security.action.user.GetUserPrivilegesResponse.Indices
- All Implemented Interfaces:
Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
- Enclosing class:
GetUserPrivilegesResponse
public static class GetUserPrivilegesResponse.Indices
extends Object
implements org.elasticsearch.xcontent.ToXContentObject, Writeable
This is modelled on
RoleDescriptor.IndicesPrivileges, with support for multiple DLS and FLS field sets.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.ParamsNested 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.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionIndices(Collection<String> indices, Collection<String> privileges, Set<FieldPermissionsDefinition.FieldGrantExcludeGroup> fieldSecurity, Set<BytesReference> queries, boolean allowRestrictedIndices) Indices(StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleaninthashCode()toString()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
Indices
public Indices(Collection<String> indices, Collection<String> privileges, Set<FieldPermissionsDefinition.FieldGrantExcludeGroup> fieldSecurity, Set<BytesReference> queries, boolean allowRestrictedIndices) -
Indices
- Throws:
IOException
-
-
Method Details
-
getIndices
-
getPrivileges
-
getFieldSecurity
-
getQueries
-
allowRestrictedIndices
public boolean allowRestrictedIndices() -
toString
-
equals
-
hashCode
public int hashCode() -
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-