Module org.elasticsearch.server
Package org.elasticsearch.action
Interface IndicesRequest.CrossProjectCandidate
- All Known Subinterfaces:
AliasesRequest,IndicesRequest.Replaceable,IndicesRequest.SingleIndexNoWildcards
- All Known Implementing Classes:
AddIndexBlockRequest,AnalyzeIndexDiskUsageRequest,BroadcastRequest,ClearIndicesCacheRequest,CloneSnapshotRequest,CloseIndexRequest,ClosePointInTimeRequest,ClusterHealthRequest,ClusterSearchShardsRequest,ClusterStateRequest,CreateSnapshotRequest,DataStreamsStatsAction.Request,DeleteByQueryRequest,DeleteDataStreamAction.Request,DeleteIndexRequest,DeleteSampleConfigurationAction.Request,ExplainDataStreamLifecycleAction.Request,FieldCapabilitiesRequest,FieldUsageStatsRequest,FlushRequest,ForceMergeRequest,GetAliasesRequest,GetAllSampleConfigurationAction.Request,GetDataStreamAction.Request,GetDataStreamLifecycleAction.Request,GetDataStreamMappingsAction.Request,GetDataStreamSettingsAction.Request,GetFieldMappingsRequest,GetIndexRequest,GetMappingsRequest,GetSampleAction.Request,GetSampleConfigurationAction.Request,GetSampleStatsAction.Request,GetSettingsRequest,IndicesAliasesRequest.AliasActions,IndicesSegmentsRequest,IndicesShardStoresRequest,IndicesStatsRequest,MultiSearchRequest,OpenIndexRequest,OpenPointInTimeRequest,PutDataStreamLifecycleAction.Request,PutDataStreamOptionsAction.Request,PutMappingRequest,PutSampleConfigurationAction.Request,RecoveryRequest,RefreshRequest,ReloadAnalyzersRequest,RemoteClusterStateRequest,RemoveIndexBlockRequest,ResolveClusterActionRequest,ResolveIndexAction.Request,SearchRequest,SearchShardsRequest,UpdateByQueryRequest,UpdateDataStreamMappingsAction.Request,UpdateDataStreamSettingsAction.Request,UpdateSettingsRequest,ValidateQueryRequest
- Enclosing interface:
IndicesRequest
public static interface IndicesRequest.CrossProjectCandidate
Interface for indicating potential work related to cross-project authentication and authorization.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanDetermines whether the request type can support cross-project processing.
-
Method Details
-
allowsCrossProject
default boolean allowsCrossProject()Determines whether the request type can support cross-project processing. Cross-project processing entails 1. UIAM authentication and authorization projects resolution. 2. If applicable, cross-project flat-world index resolution and error handling Note: this method only determines in the request _supports_ cross-project. Whether cross-project processing is actually performed depends on other factors such as: - Whether CPS is enabled which impacts both 1 and 2. - WhetherIndicesOptionssupports it when the request is anIndicesRequest. This only impacts 2. See alsoCrossProjectModeDecider.
-