T - the type of PluginConfiguration for this AsyncSiteAuthenticatorInterceptorpublic interface AsyncSiteAuthenticatorInterceptor<T extends PluginConfiguration> extends DescribesUIConfigurable, ConfigurablePlugin<T>
AsyncSiteAuthenticatorInterceptor is the runtime instantiation of a Site Authenticator defined in the
Administrative API that supports asynchronous computation. See the documentation of
SiteAuthenticatorInterceptor for information on implementing a Site Authenticator.
AsyncSiteAuthenticatorInterceptor should only be used when the logic of the Site Authenticator requires using
a HttpClient. If a HttpClient is not required, SiteAuthenticatorInterceptor should be
implemented instead.SiteAuthenticatorInterceptor| Modifier and Type | Method and Description |
|---|---|
CompletionStage<Void> |
handleRequest(Exchange exchange)
Invoked to allow a
AsyncSiteAuthenticatorInterceptor to handle the request attached to the
Exchange. |
CompletionStage<Void> |
handleResponse(Exchange exchange)
Invoked to allow a
AsyncSiteAuthenticatorInterceptor to handle the response attached to the
Exchange. |
getConfigurationFieldsconfigure, getConfigurationCompletionStage<Void> handleRequest(Exchange exchange)
AsyncSiteAuthenticatorInterceptor to handle the request attached to the
Exchange.exchange - the current Exchange being processedCompletionStage representing the asynchronous completion of the method. If this method does
not require use of a HttpClient, the logic of the method can be performed synchronously and
then return a completed CompletionStage with code like:
CompletableFuture.completedFuture(null)
CompletionStage<Void> handleResponse(Exchange exchange)
AsyncSiteAuthenticatorInterceptor to handle the response attached to the
Exchange.exchange - the current Exchange being processedCompletionStage representing the asynchronous completion of the method. If this method does
not require use of a HttpClient, the logic of the method can be performed synchronously and
then return a completed CompletionStage with code like:
CompletableFuture.completedFuture(null)
Copyright 2023 Ping Identity Corp. All rights reserved.