Module org.elasticsearch.security
Class SecurityActionMapper
java.lang.Object
org.elasticsearch.xpack.security.action.SecurityActionMapper
This class analyzes an incoming request and its action name, and returns the security action name for it.
In many cases the action name is the same as the original one used in es core, but in some exceptional cases it might need
to be converted. For instance a clear_scroll that targets all opened scrolls gets converted to a different action that requires
cluster privileges instead of the default indices privileges, still valid for clear scrolls that target specific scroll ids.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringaction(String action, TransportRequest request) Returns the security specific action name given the incoming action name and request
-
Constructor Details
-
SecurityActionMapper
public SecurityActionMapper()
-
-
Method Details
-
action
Returns the security specific action name given the incoming action name and request
-