Module org.elasticsearch.xcore
Interface AuthorizationEngine.AuthorizationInfo
- All Known Implementing Classes:
AuthorizationEngine.EmptyAuthorizationInfo
- Enclosing interface:
AuthorizationEngine
public static interface AuthorizationEngine.AuthorizationInfo
Interface for objects that contains the information needed to authorize a request
-
Method Summary
-
Method Details
-
asMap
- Returns:
- a map representation of the authorization information. This map will be used to augment the data that is audited, so in the case of RBAC this map could contain the role names.
-
getAuthenticatedUserAuthorizationInfo
This method should be overridden in case of run as. Authorization info is only retrieved a single time and should represent the information to authorize both run as and the operation being performed.
-