Class NoSecuritySetup

java.lang.Object
test.de.iip_ecosphere.platform.connectors.opcuav1.ServerSetup
test.de.iip_ecosphere.platform.connectors.opcuav1.NoSecuritySetup

public class NoSecuritySetup
extends ServerSetup
Describes a non-secure setup for testing purposes.
Author:
Holger Eichelberger, SSE
  • Constructor Summary

    Constructors 
    Constructor Description
    NoSecuritySetup​(String path, int tcpPort, int httpsPort)
    Creates a server setup instance.
  • Method Summary

    Modifier and Type Method Description
    void configureCommonEndpointBuilder​(org.eclipse.milo.opcua.stack.server.EndpointConfiguration.Builder builder)
    Configures the common endpoint builder used as basis for the following endpoint builders below.
    org.eclipse.milo.opcua.stack.server.EndpointConfiguration.Builder configureHttpsEndpointBuilder​(org.eclipse.milo.opcua.stack.server.EndpointConfiguration.Builder builder)
    Configures the HTTPS builder on usual non-discovery endpoints.
    org.eclipse.milo.opcua.stack.server.EndpointConfiguration.Builder configureNoSecurityBuilder​(org.eclipse.milo.opcua.stack.server.EndpointConfiguration.Builder builder)
    Configures the no-security builder on usual non-discovery endpoints.
    void configureServerBuilder​(org.eclipse.milo.opcua.sdk.server.api.config.OpcUaServerConfigBuilder builder)
    Configures the server builder.
    org.eclipse.milo.opcua.stack.server.EndpointConfiguration.Builder configureTcpEndpointBuilder​(org.eclipse.milo.opcua.stack.server.EndpointConfiguration.Builder builder)
    Configures the TCP builder on usual non-discovery endpoints.
    de.iip_ecosphere.platform.connectors.ConnectorParameter getConnectorParameter()
    Returns the connector parameter for setting up a corresponding connector.
    String initializeApplication()
    Initializes the application.
    void shutdownApplication()
    Shuts down the application to clean up resources if needed.

    Methods inherited from class test.de.iip_ecosphere.platform.connectors.opcuav1.ServerSetup

    getHttpsPort, getPath, getTcpPort

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NoSecuritySetup

      public NoSecuritySetup​(String path, int tcpPort, int httpsPort)
      Creates a server setup instance.
      Parameters:
      path - the URL path on the endpoints (no trailing slash)
      tcpPort - the TCP port to serve
      httpsPort - the HTTPS port to serve (although not secured)
  • Method Details