Module org.elasticsearch.xcore
Class FieldPermissionsCache
java.lang.Object
org.elasticsearch.xpack.core.security.authz.permission.FieldPermissionsCache
A service for managing the caching of
FieldPermissions as these may often need to be combined or created and internally they
use an Automaton, which can be costly to create once you account for minimization-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFieldPermissions(FieldPermissionsDefinition fieldPermissionsDefinition) Gets aFieldPermissionsinstance that corresponds to the granted and denied parameters.
-
Field Details
-
CACHE_SIZE_SETTING
-
-
Constructor Details
-
FieldPermissionsCache
-
-
Method Details
-
getCacheStats
-
getFieldPermissions
Gets aFieldPermissionsinstance that corresponds to the granted and denied parameters. The instance may come from the cache or if it gets created, the instance will be cached
-