Module org.elasticsearch.xcore
Class FieldPermissionsDefinition
java.lang.Object
org.elasticsearch.xpack.core.security.authz.permission.FieldPermissionsDefinition
- All Implemented Interfaces:
CacheKey
Represents the definition of a
FieldPermissions. Field permissions are defined as a
collections of grant and exclude definitions where the exclude definition must be a subset of
the grant definition.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Constructor Summary
ConstructorsConstructorDescriptionFieldPermissionsDefinition(String[] grant, String[] exclude) FieldPermissionsDefinition(Set<FieldPermissionsDefinition.FieldGrantExcludeGroup> fieldGrantExcludeGroups) -
Method Summary
-
Constructor Details
-
FieldPermissionsDefinition
-
FieldPermissionsDefinition
public FieldPermissionsDefinition(Set<FieldPermissionsDefinition.FieldGrantExcludeGroup> fieldGrantExcludeGroups)
-
-
Method Details
-
getFieldGrantExcludeGroups
-
equals
-
hashCode
public int hashCode() -
toString
-
buildCacheKey
public void buildCacheKey(StreamOutput out, SecurityQueryTemplateEvaluator.DlsQueryEvaluationContext context) throws IOException - Specified by:
buildCacheKeyin interfaceCacheKey- Throws:
IOException
-