java.lang.Object
org.elasticsearch.xpack.core.async.AsyncSearchSecurity
-
Constructor Summary
ConstructorsConstructorDescriptionAsyncSearchSecurity(String indexName, SecurityContext securityContext, Client client, String origin) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleancurrentUserHasAccessToTask(AsyncTask asyncTask) booleancurrentUserHasAccessToTaskWithHeaders(Map<String, String> headers) voidcurrentUserHasCancelTaskPrivilege(Consumer<Boolean> consumer)
-
Constructor Details
-
AsyncSearchSecurity
public AsyncSearchSecurity(String indexName, SecurityContext securityContext, Client client, String origin)
-
-
Method Details
-
currentUserHasCancelTaskPrivilege
-
currentUserCanSeeStatusOfAllSearches
-
currentUserHasAccessToTask
- Throws:
IOException
-
currentUserHasAccessToTaskWithHeaders
- Throws:
IOException
-