Module org.elasticsearch.security
Interface SamlAuthenticateResponseHandler
- All Known Implementing Classes:
DefaultSamlAuthenticateResponseHandler
public interface SamlAuthenticateResponseHandler
Interface for handling successful SAML authentications.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classThe default factory that createsDefaultSamlAuthenticateResponseHandler.static interfaceThe factory is used to make handler pluggable. -
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.
-
Method Details
-
handleTokenResponse
void handleTokenResponse(Authentication authentication, Authentication originatingAuthentication, AuthenticationResult<User> authenticationResult, ActionListener<SamlAuthenticateResponse> listener) Called to handle and return a (SamlAuthenticateResponse) after successful SAML authentication.
-