Class AuthorizationEngine.PrivilegesCheckResult

java.lang.Object
org.elasticsearch.xpack.core.security.authz.AuthorizationEngine.PrivilegesCheckResult
Enclosing interface:
AuthorizationEngine

public static final class AuthorizationEngine.PrivilegesCheckResult extends Object
The result of a (has) privilege check. This is not to be used as an Elasticsearch authorization result (though clients can base their authorization decisions on this response). The allChecksSuccess field tells if all the privileges are granted over all the resources. The details field is only present (non-null) if the check has been run in a detailed mode AuthorizationEngine.PrivilegesToCheck.runDetailedCheck, and contains a run-down of which privileges are granted over which resources or not.