Class DelegatedAuthorizationSupport

java.lang.Object
org.elasticsearch.xpack.security.authc.support.DelegatedAuthorizationSupport

public class DelegatedAuthorizationSupport extends Object
Utility class for supporting "delegated authorization" (aka "authorization_realms", aka "lookup realms"). A Realm may support delegating authorization to another realm. It does this by registering a setting for DelegatedAuthorizationSettings.AUTHZ_REALMS, and constructing an instance of this class. Then, after the realm has performed any authentication steps, if hasDelegation() is true, it delegates the construction of the User object and AuthenticationResult to resolve(String, ActionListener).