Class SoapClientConfigBuilderImpl

java.lang.Object
org.projecthusky.xua.communication.config.impl.SoapClientConfigBuilderImpl
All Implemented Interfaces:
ClientConfigBuilder, SoapClientConfigBuilder

public class SoapClientConfigBuilderImpl extends Object implements SoapClientConfigBuilder
Class implementing the interface ClientConfigBuilder serving as builder to create config for client with basic authentication.
Klasse die das Interface ClienConfiguilder implementiert. Dient dazu eine Client Konfiguration zu bilden für die Kommunikation mit BasicAuthentication.
  • Constructor Details

    • SoapClientConfigBuilderImpl

      public SoapClientConfigBuilderImpl()
      Default Constructor
  • Method Details

    • clientKeyStore

      public SoapClientConfigBuilderImpl clientKeyStore(String clientKeyStore)
      Description copied from interface: SoapClientConfigBuilder
      Method to set the client keystore to access the security token webservice.
      Methode um den Schlüsselspeicher für den Zugriff auf den Security Token Webservices zu setzen.
      Specified by:
      clientKeyStore in interface SoapClientConfigBuilder
      Parameters:
      clientKeyStore -
      the client keystore file
      der Client KeyStore file
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
    • clientKeyStorePassword

      public SoapClientConfigBuilderImpl clientKeyStorePassword(String clientKeyStorePassword)
      Description copied from interface: SoapClientConfigBuilder
      Method to set the password for the client keystore.
      Methode um das Passwort für den Schlüsselspeicher zu setzen.
      Specified by:
      clientKeyStorePassword in interface SoapClientConfigBuilder
      Parameters:
      clientKeyStorePassword -
      the client keystore password
      das Schlüsselspeicher Passwort
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
    • clientKeyStoreType

      public SoapClientConfigBuilderImpl clientKeyStoreType(String clientKeyStoreType)
      Description copied from interface: SoapClientConfigBuilder
      Method to set the type of the client keystore.
      Methode um den Typ des Schlüsselspeichers zu setzen.
      Specified by:
      clientKeyStoreType in interface SoapClientConfigBuilder
      Parameters:
      clientKeyStoreType -
      the client keystore type
      der Schlüsselspeichertyp
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
    • create

      public SoapClientConfig create()
      Method to create the config.
      Returns:
      the config created
    • portName

      public SoapClientConfigBuilderImpl portName(String portName)
      Description copied from interface: SoapClientConfigBuilder
      Method to set the port name of the security token webservice.
      Methode um den Port Namen des Security Token Webservices zu setzen.
      Specified by:
      portName in interface SoapClientConfigBuilder
      Parameters:
      portName -
      the port name
      der Port Name
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
    • portNamespace

      public SoapClientConfigBuilderImpl portNamespace(String portNamespace)
      Description copied from interface: SoapClientConfigBuilder
      Method to set the namespace of the port name of the security token webservice.
      Methode um den Namespace des Port Namen des Security Token Webservices zu setzen.
      Specified by:
      portNamespace in interface SoapClientConfigBuilder
      Parameters:
      portNamespace -
      the namespace of the port name
      der Namespace des Port Namens
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
    • serviceName

      public SoapClientConfigBuilderImpl serviceName(String serviceName)
      Description copied from interface: SoapClientConfigBuilder
      Method to set the service name of the security token webservice.
      Methode um den Service Namen des Security Token Webservices zu setzen.
      Specified by:
      serviceName in interface SoapClientConfigBuilder
      Parameters:
      serviceName -
      the service name
      der Service Namen
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
    • serviceNamespace

      public SoapClientConfigBuilderImpl serviceNamespace(String serviceNamespace)
      Description copied from interface: SoapClientConfigBuilder
      Method to set the namespace of the service name of the security token webservice.
      Methode um den Namespace des Service Namen des Security Token Webservices zu setzen.
      Specified by:
      serviceNamespace in interface SoapClientConfigBuilder
      Parameters:
      serviceNamespace -
      the namespace of the port name
      der Namespace des Port Namens
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
    • simple

      public SoapClientConfigBuilder simple(boolean aSimple)
      Description copied from interface: SoapClientConfigBuilder
      Method to set the simple flag.
      Methode um den das Simple Flag zu setzen.
      Specified by:
      simple in interface SoapClientConfigBuilder
      Parameters:
      aSimple -
      true or false as value to be set
      true oder false als Wert, der gesetzt werden soll
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
    • soapVersion

      Description copied from interface: SoapClientConfigBuilder
      Method to set the SOAP version.
      Method um die SOAP version zu setzen.
      Specified by:
      soapVersion in interface SoapClientConfigBuilder
      Parameters:
      soapVersion -
      SoapVersion value to be set
      SoapVersion Wert, der gesetzt werden soll
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
    • url

      public SoapClientConfigBuilderImpl url(String aEndpointUrl)
      Method to set the enpoint URI.
      Methode um die Enpunkt URI zu bilden.
      Specified by:
      url in interface ClientConfigBuilder
      Parameters:
      aEndpointUrl -
      the enpoint URI to be set.
      Die Enpunkt URI die zu setzen ist.
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
      See Also: