Class IdpClientByCert
java.lang.Object
org.projecthusky.xua.communication.clients.impl.AbstractIdpClient
org.projecthusky.xua.communication.clients.impl.AbstractHttpFormIdpClient
org.projecthusky.xua.communication.clients.impl.IdpClientByCert
- All Implemented Interfaces:
IdpClient
Class implementing the IdP Client with cert authentication.
Klasse die den IdP Client mit Cert Authentication implementiert.
-
Constructor Summary
ConstructorsConstructorDescriptionIdpClientByCert(IdpClientCertificateAuthConfigImpl clientConfiguration) Constructor with configuration. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.http.impl.client.CloseableHttpClientMethod to get http clientorg.apache.http.client.config.RequestConfigMethod to get request configsend(AuthnRequest aAuthnRequest) Method to send an AuthnRequest. Methode um einen AuthnRequest zu senden.
-
Constructor Details
-
IdpClientByCert
Constructor with configuration.- Parameters:
clientConfiguration- the client configuration
-
-
Method Details
-
getHttpClient
Description copied from class:AbstractIdpClientMethod to get http client- Specified by:
getHttpClientin 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:AbstractIdpClientMethod to get request config- Specified by:
getRequestConfigin classAbstractIdpClient- Returns:
- request config
-
send
Description copied from interface:IdpClientMethod 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.
-