Module org.elasticsearch.security
Class DefaultSamlAuthenticateResponseHandler
java.lang.Object
org.elasticsearch.xpack.security.authc.saml.DefaultSamlAuthenticateResponseHandler
- All Implemented Interfaces:
SamlAuthenticateResponseHandler
public final class DefaultSamlAuthenticateResponseHandler
extends Object
implements SamlAuthenticateResponseHandler
Default implementation of
SamlAuthenticateResponseHandler that returns tokens crested using the TokenService.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xpack.security.authc.saml.SamlAuthenticateResponseHandler
SamlAuthenticateResponseHandler.DefaultFactory, SamlAuthenticateResponseHandler.Factory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleTokenResponse(Authentication authentication, Authentication originatingAuthentication, AuthenticationResult<User> authenticationResult, ActionListener<SamlAuthenticateResponse> listener) Called to handle and return a (SamlAuthenticateResponse) after successful SAML authentication.
-
Constructor Details
-
DefaultSamlAuthenticateResponseHandler
-
-
Method Details
-
handleTokenResponse
public void handleTokenResponse(Authentication authentication, Authentication originatingAuthentication, AuthenticationResult<User> authenticationResult, ActionListener<SamlAuthenticateResponse> listener) Description copied from interface:SamlAuthenticateResponseHandlerCalled to handle and return a (SamlAuthenticateResponse) after successful SAML authentication.- Specified by:
handleTokenResponsein interfaceSamlAuthenticateResponseHandler
-