Class SecurityActionMapper

java.lang.Object
org.elasticsearch.xpack.security.action.SecurityActionMapper

public class SecurityActionMapper extends Object
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 Details

    • SecurityActionMapper

      public SecurityActionMapper()
  • Method Details

    • action

      public static String action(String action, TransportRequest request)
      Returns the security specific action name given the incoming action name and request