Class ApplicationPrivilegeDescriptor

java.lang.Object
org.elasticsearch.xpack.core.security.authz.privilege.ApplicationPrivilegeDescriptor
All Implemented Interfaces:
Writeable, ToXContent, ToXContentObject

public class ApplicationPrivilegeDescriptor extends Object implements ToXContentObject, Writeable
An ApplicationPrivilegeDescriptor is a representation of a stored ApplicationPrivilege. A user (via a role) can be granted an application privilege by name (e.g. ("myapp", "read"). In general, this privilege name will correspond to a pre-defined ApplicationPrivilegeDescriptor, which then is used to determine the set of actions granted by the privilege.