com.pingidentity.pa.sdk.siteauthenticator
com.pingidentity.pa.sdk.siteauthenticator.SiteAuthenticatorInterceptor
This interface is no longer a RequestInterceptor
or ResponseInterceptor
, but it still defines the handleRequest
and handleResponse
methods.
public interface SiteAuthenticatorInterceptor<T extends PluginConfiguration>
extends DescribesUIConfigurable, ConfigurablePlugin<T>
{
void handleRequest(Exchange exchange) throws AccessException;
void handleResponse(Exchange exchange) throws AccessException;
}
Additionally, these methods now only throw an AccessException
instead of an IOException
or InterruptedException
.
Accounting for the SiteAuthenticatorInterceptor#handleRequest method signature change
- Before PingAccess 5.0
-
@Override public Outcome handleRequest(Exchange exc) throws RuntimeException, IOException, InterruptedException { // Site authenticator implementation // return Outcome.CONTINUE; }
- After PingAccess 5.0
-
@Override public void handleRequest(Exchange exc) throws AccessException { // Site authenticator implementation // }
Accounting for the SiteAuthenticatorInterceptor#handleResponse method signature change
- Before PingAccess 5.0
-
@Override public void handleResponse(Exchange exc) throws IOException { // Site authenticator response implementation // }
- After PingAccess 5.0
-
@Override public void handleResponse(Exchange exc) throws AccessException { // Site authenticator response implementation // }