Class IdpClientByProxy

All Implemented Interfaces:
IdpClient

public class IdpClientByProxy extends AbstractHttpFormIdpClient
Class implementing the IdP Client using auth proxy like e.g. HIN Client.
Klasse die den IdP Client unter Verwendung eines auth proxy wie beispielsweis den HIN Client verwendet.
  • Constructor Details

    • IdpClientByProxy

      public IdpClientByProxy(IdpClientViaHttpProxyConfigImpl clientConfiguration)
      Constgructor with config as param
      Parameters:
      clientConfiguration - the client configuration
  • Method Details

    • getHttpClient

      public org.apache.http.impl.client.CloseableHttpClient getHttpClient() throws ClientSendException
      Description copied from class: AbstractIdpClient
      Method to get http client
      Specified by:
      getHttpClient in class AbstractIdpClient
      Returns:
      closeable http client
      Throws:
      ClientSendException - will be thrown if an error occures.
    • getRequestConfig

      public org.apache.http.client.config.RequestConfig getRequestConfig()
      Description copied from class: AbstractIdpClient
      Method to get request config
      Specified by:
      getRequestConfig in class AbstractIdpClient
      Returns:
      request config
    • send

      public Response send(AuthnRequest aAuthnRequest) throws ClientSendException
      Description copied from interface: IdpClient
      Method to send an AuthnRequest.
      Methode um einen AuthnRequest zu senden.
      Parameters:
      aAuthnRequest -
      the AuthnRequest to be sent.
      Der AuthnRequest welcher geschickt werden soll.
      Returns:
      the idp response
      Die IdP Response.
      Throws:
      ClientSendException -
      will be thrown if an error occoures
      wird geworfen wenn ein Fehler auftritt.