Class IdpClientByBrowserAndProtocolHandler

java.lang.Object
org.projecthusky.xua.communication.clients.impl.IdpClientByBrowserAndProtocolHandler
All Implemented Interfaces:
IdpClient

public class IdpClientByBrowserAndProtocolHandler extends Object implements 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 Details

    • IdpClientByBrowserAndProtocolHandler

      public IdpClientByBrowserAndProtocolHandler(IdpClientByBrowserAndProtocolHandlerConfigImpl clientConfiguration)
      Constructor with config parameter
      Parameters:
      clientConfiguration - the config to be used.
  • Method Details

    • readFromJARFile

      public String readFromJARFile(String filename) throws IOException
      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

      public Object send(AuthnRequest aAuthnRequest) throws ClientSendException
      Method to send an AuthnRequest.
      Methode um einen AuthnRequest zu senden.
      Specified by:
      send in interface IdpClient
      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.
      See Also: