java.lang.Object
org.elasticsearch.xpack.core.security.authz.permission.RunAsPermission

public final class RunAsPermission extends Object
A permissions that is based on a general privilege that contains patterns of users that this user can execute a request as
  • Field Details

  • Method Details

    • getPrivilege

      public Privilege getPrivilege()
    • check

      public boolean check(String username)
      Checks if this permission grants run as to the specified user