Module org.elasticsearch.security
Class DatasetDatasourceRequestInterceptor
java.lang.Object
org.elasticsearch.xpack.security.authz.interceptor.DatasetDatasourceRequestInterceptor
- All Implemented Interfaces:
RequestInterceptor
Authorizes
global.data_source for EsqlDatasetActionNames.ESQL_PUT_DATASET_ACTION_NAME when the request
advertises a separate datasource cluster action via DataSourceRequestInfo.dataSourceClusterActionName().-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintercept(AuthorizationEngine.RequestInfo requestInfo, AuthorizationEngine authorizationEngine, AuthorizationEngine.AuthorizationInfo authorizationInfo) This interceptor will introspect the request and potentially modify it.
-
Constructor Details
-
DatasetDatasourceRequestInterceptor
public DatasetDatasourceRequestInterceptor()
-
-
Method Details
-
intercept
public SubscribableListener<Void> intercept(AuthorizationEngine.RequestInfo requestInfo, AuthorizationEngine authorizationEngine, AuthorizationEngine.AuthorizationInfo authorizationInfo) Description copied from interface:RequestInterceptorThis interceptor will introspect the request and potentially modify it. If the interceptor does not apply to the request then the request will not be modified.- Specified by:
interceptin interfaceRequestInterceptor
-