Class SecurityRestFilter
java.lang.Object
org.elasticsearch.xpack.security.rest.SecurityRestFilter
- All Implemented Interfaces:
org.elasticsearch.rest.RestHandler
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.rest.RestHandler
org.elasticsearch.rest.RestHandler.Route -
Constructor Summary
ConstructorsConstructorDescriptionSecurityRestFilter(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.common.util.concurrent.ThreadContext threadContext, AuthenticationService authenticationService, SecondaryAuthenticator secondaryAuthenticator, org.elasticsearch.rest.RestHandler restHandler, boolean extractClientCertificate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanprotected voidhandleException(SecurityRestFilter.ActionType actionType, org.elasticsearch.rest.RestRequest request, org.elasticsearch.rest.RestChannel channel, Exception e) voidhandleRequest(org.elasticsearch.rest.RestRequest request, org.elasticsearch.rest.RestChannel channel, org.elasticsearch.client.internal.node.NodeClient client) booleanmediaTypesValid(org.elasticsearch.rest.RestRequest request) List<org.elasticsearch.rest.RestHandler.Route>routes()boolean
-
Constructor Details
-
SecurityRestFilter
public SecurityRestFilter(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.common.util.concurrent.ThreadContext threadContext, AuthenticationService authenticationService, SecondaryAuthenticator secondaryAuthenticator, org.elasticsearch.rest.RestHandler restHandler, boolean extractClientCertificate)
-
-
Method Details
-
allowSystemIndexAccessByDefault
public boolean allowSystemIndexAccessByDefault()- Specified by:
allowSystemIndexAccessByDefaultin interfaceorg.elasticsearch.rest.RestHandler
-
handleRequest
public void handleRequest(org.elasticsearch.rest.RestRequest request, org.elasticsearch.rest.RestChannel channel, org.elasticsearch.client.internal.node.NodeClient client) throws Exception - Specified by:
handleRequestin interfaceorg.elasticsearch.rest.RestHandler- Throws:
Exception
-
handleException
protected void handleException(SecurityRestFilter.ActionType actionType, org.elasticsearch.rest.RestRequest request, org.elasticsearch.rest.RestChannel channel, Exception e) -
canTripCircuitBreaker
public boolean canTripCircuitBreaker()- Specified by:
canTripCircuitBreakerin interfaceorg.elasticsearch.rest.RestHandler
-
supportsContentStream
public boolean supportsContentStream()- Specified by:
supportsContentStreamin interfaceorg.elasticsearch.rest.RestHandler
-
allowsUnsafeBuffers
public boolean allowsUnsafeBuffers()- Specified by:
allowsUnsafeBuffersin interfaceorg.elasticsearch.rest.RestHandler
-
routes
- Specified by:
routesin interfaceorg.elasticsearch.rest.RestHandler
-
mediaTypesValid
public boolean mediaTypesValid(org.elasticsearch.rest.RestRequest request) - Specified by:
mediaTypesValidin interfaceorg.elasticsearch.rest.RestHandler
-