Module org.elasticsearch.security
Class ServerTransportFilter
java.lang.Object
org.elasticsearch.xpack.security.transport.ServerTransportFilter
The server transport filter that should be used in nodes as it ensures that an incoming
request is properly authenticated and authorized
-
Constructor Summary
ConstructorsConstructorDescriptionServerTransportFilter(AuthenticationService authcService, AuthorizationService authzService, ThreadContext threadContext, boolean extractClientCert, DestructiveOperations destructiveOperations, SecurityContext securityContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidauthenticate(String securityAction, TransportRequest request, ActionListener<Authentication> authenticationListener) protected final ThreadContext
-
Constructor Details
-
ServerTransportFilter
public ServerTransportFilter(AuthenticationService authcService, AuthorizationService authzService, ThreadContext threadContext, boolean extractClientCert, DestructiveOperations destructiveOperations, SecurityContext securityContext)
-
-
Method Details
-
authenticate
protected void authenticate(String securityAction, TransportRequest request, ActionListener<Authentication> authenticationListener) -
getThreadContext
-