---
title: com.pingidentity.pa.sdk.siteauthenticator
description: This interface is no longer a RequestInterceptor or ResponseInterceptor, but it still defines the handleRequest and handleResponse methods.
component: pingaccess
version: 9.1
page_id: pingaccess:agents_and_integrations:pa_sdk_site_authenticator
canonical_url: https://docs.pingidentity.com/pingaccess/9.1/agents_and_integrations/pa_sdk_site_authenticator.html
revdate: February 6, 2023
section_ids:
  com-pingidentity-pa-sdk-siteauthenticator-siteauthenticatorinterceptor: com.pingidentity.pa.sdk.siteauthenticator.SiteAuthenticatorInterceptor
---

# 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 chang

  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 //
  }
  ```
