Class IdpClientByBrowserAndProtocolHandler
java.lang.Object
org.projecthusky.xua.communication.clients.impl.IdpClientByBrowserAndProtocolHandler
- All Implemented Interfaces:
IdpClient
Class implementing the IdP Client starting a browser for login..
Klasse die den IdP Client für das Login mit dem Browser implementiert.
-
Constructor Summary
ConstructorsConstructorDescriptionIdpClientByBrowserAndProtocolHandler
(IdpClientByBrowserAndProtocolHandlerConfigImpl clientConfiguration) Constructor with config parameter -
Method Summary
Modifier and TypeMethodDescriptionreadFromJARFile
(String filename) Method to read content from a file packed in a jar file. Methode um den Inhalt eines Files gepacket in einem jar File zu laden.send
(AuthnRequest aAuthnRequest) Method to send an AuthnRequest. Methode um einen AuthnRequest zu senden.
-
Constructor Details
-
IdpClientByBrowserAndProtocolHandler
public IdpClientByBrowserAndProtocolHandler(IdpClientByBrowserAndProtocolHandlerConfigImpl clientConfiguration) Constructor with config parameter- Parameters:
clientConfiguration
- the config to be used.
-
-
Method Details
-
readFromJARFile
Method to read content from a file packed in a jar file.Methode um den Inhalt eines Files gepacket in einem jar File zu laden.- Parameters:
filename
-The name of the file incl. the classpath.Der Name des Files incl, des Klassenpfades- Returns:
- The content of the file as string.Der Inhalt des Files als String.
- Throws:
IOException
-will be thrown occuring an error reading the file.wird geworfen wenn ein fehler beim lesen auftritt.
-
send
Method to send an AuthnRequest.Methode um einen AuthnRequest zu senden.- Specified by:
send
in interfaceIdpClient
- 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:
-