Class IdpClientByCert

All Implemented Interfaces:
IdpClient

public class IdpClientByCert extends AbstractHttpFormIdpClient
Class implementing the IdP Client with cert authentication.
Klasse die den IdP Client mit Cert Authentication implementiert.
  • Constructor Details

    • IdpClientByCert

      public IdpClientByCert(IdpClientCertificateAuthConfigImpl clientConfiguration)
      Constructor with configuration.
      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.