java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.server.apps.security.SSLConnectorCustomizer
All Implemented Interfaces:
org.springframework.boot.web.embedded.tomcat.TomcatConnectorCustomizer

@Configuration public class SSLConnectorCustomizer extends Object implements org.springframework.boot.web.embedded.tomcat.TomcatConnectorCustomizer
Customizes the SSL setup.
Author:
Holger Eichelberger, SSE
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    private static class 
    Delegating JSSE Context, taken over from package-local non-reusable class org.apache.tomcat.util.net.jsse.JSSESSLContext.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private de.iip_ecosphere.platform.support.net.KeyStoreDescriptor
     
    private final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    customize(org.apache.catalina.connector.Connector connector)
     

    Methods inherited from class java.lang.Object

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

    • kstore

      @Autowired(required=false) private de.iip_ecosphere.platform.support.net.KeyStoreDescriptor kstore
    • port

      private final int port
  • Constructor Details

    • SSLConnectorCustomizer

      public SSLConnectorCustomizer(@Value("${server.port}") int port)
      Creates an instance.
      Parameters:
      port - the server port (injected)
  • Method Details

    • customize

      public void customize(org.apache.catalina.connector.Connector connector)
      Specified by:
      customize in interface org.springframework.boot.web.embedded.tomcat.TomcatConnectorCustomizer