Class PreAuthorizationUtils

java.lang.Object
org.elasticsearch.xpack.security.authz.PreAuthorizationUtils

public final class PreAuthorizationUtils extends Object
  • Field Details

    • CHILD_ACTIONS_PRE_AUTHORIZED_BY_PARENT

      public static final Map<String,Set<String>> CHILD_ACTIONS_PRE_AUTHORIZED_BY_PARENT
      This map holds parent-child action relationships for which we can optimize authorization and skip authorization for child actions if the parent action is successfully authorized. Normally every action would be authorized on a local node on which it's being executed. Here we define all child actions for which the authorization can be safely skipped on a remote node as they only access a subset of resources.
  • Method Details