Module org.elasticsearch.security
Class SecurityServerTransportInterceptor
java.lang.Object
org.elasticsearch.xpack.security.transport.SecurityServerTransportInterceptor
- All Implemented Interfaces:
TransportInterceptor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from interface org.elasticsearch.transport.TransportInterceptor
TransportInterceptor.AsyncSender -
Constructor Summary
ConstructorsConstructorDescriptionSecurityServerTransportInterceptor(Settings settings, ThreadPool threadPool, AuthenticationService authcService, AuthorizationService authzService, SSLService sslService, SecurityContext securityContext, DestructiveOperations destructiveOperations, CrossClusterAccessAuthenticationService crossClusterAccessAuthcService, XPackLicenseState licenseState) -
Method Summary
Modifier and TypeMethodDescription<T extends TransportRequest>
TransportRequestHandler<T> interceptHandler(String action, Executor executor, boolean forceExecution, TransportRequestHandler<T> actualHandler) <T extends TransportResponse>
voidsendRequestInner(TransportInterceptor.AsyncSender sender, Transport.Connection connection, String action, TransportRequest request, TransportRequestOptions options, TransportResponseHandler<T> handler)
-
Constructor Details
-
SecurityServerTransportInterceptor
public SecurityServerTransportInterceptor(Settings settings, ThreadPool threadPool, AuthenticationService authcService, AuthorizationService authzService, SSLService sslService, SecurityContext securityContext, DestructiveOperations destructiveOperations, CrossClusterAccessAuthenticationService crossClusterAccessAuthcService, XPackLicenseState licenseState)
-
-
Method Details
-
interceptSender
- Specified by:
interceptSenderin interfaceTransportInterceptor
-
sendRequestInner
public <T extends TransportResponse> void sendRequestInner(TransportInterceptor.AsyncSender sender, Transport.Connection connection, String action, TransportRequest request, TransportRequestOptions options, TransportResponseHandler<T> handler) -
interceptHandler
public <T extends TransportRequest> TransportRequestHandler<T> interceptHandler(String action, Executor executor, boolean forceExecution, TransportRequestHandler<T> actualHandler) - Specified by:
interceptHandlerin interfaceTransportInterceptor
-