Class IdpSoapBindingClientByBasicAuth
java.lang.Object
org.projecthusky.xua.communication.clients.impl.AbstractIdpClient
org.projecthusky.xua.communication.clients.impl.IdpSoapBindingClientByBasicAuth
- All Implemented Interfaces:
IdpClient
Class implementing the IdP Client with basic authentication.
Klasse die den IdP Client mit Basic Authentication implementiert.
-
Constructor Summary
ConstructorsConstructorDescriptionIdpSoapBindingClientByBasicAuth
(IdpClientBasicAuthConfigImpl 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
-
IdpSoapBindingClientByBasicAuth
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()Method to get request config- Specified by:
getRequestConfig
in classAbstractIdpClient
- Returns:
- request config
- See Also:
-
send
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.- See Also:
-