Class IdpClientByProxy
java.lang.Object
org.projecthusky.xua.communication.clients.impl.AbstractIdpClient
org.projecthusky.xua.communication.clients.impl.AbstractHttpFormIdpClient
org.projecthusky.xua.communication.clients.impl.IdpClientByProxy
- All Implemented Interfaces:
IdpClient
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 Summary
ConstructorsConstructorDescriptionIdpClientByProxy
(IdpClientViaHttpProxyConfigImpl clientConfiguration) Constgructor with config as param -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.http.impl.client.CloseableHttpClient
Method to get http clientorg.apache.http.client.config.RequestConfig
Method to get request configsend
(AuthnRequest aAuthnRequest) Method to send an AuthnRequest. Methode um einen AuthnRequest zu senden.
-
Constructor Details
-
IdpClientByProxy
Constgructor with config as param- Parameters:
clientConfiguration
- the client configuration
-
-
Method Details
-
getHttpClient
Description copied from class:AbstractIdpClient
Method to get http client- Specified by:
getHttpClient
in classAbstractIdpClient
- 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 classAbstractIdpClient
- Returns:
- request config
-
send
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 responseDie IdP Response.
- Throws:
ClientSendException
-will be thrown if an error occoureswird geworfen wenn ein Fehler auftritt.
-