Module org.elasticsearch.xcore
Interface AuthorizationEngine.AuthorizedIndices
- Enclosing interface:
AuthorizationEngine
public static interface AuthorizationEngine.AuthorizedIndices
Used to retrieve index-like resources that the user has access to, for a specific access action type,
at a specific point in time (for a fixed cluster state view).
It can also be used to check if a specific resource name is authorized (access to the resource name
can be authorized even if it doesn't exist).
-
Method Summary
Modifier and TypeMethodDescriptionall()Returns all the index-like resource names that are available and accessible for an action type by a user, at a fixed point in time (for a single cluster state view).booleanChecks if an index-like resource name is authorized, for an action by a user.
-
Method Details
-
all
Returns all the index-like resource names that are available and accessible for an action type by a user, at a fixed point in time (for a single cluster state view). -
check
Checks if an index-like resource name is authorized, for an action by a user. The resource might or might not exist.
-