Class DefaultTcpSSLContextSupport

java.lang.Object
org.springframework.integration.ip.tcp.connection.DefaultTcpSSLContextSupport
All Implemented Interfaces:
TcpSSLContextSupport

public class DefaultTcpSSLContextSupport extends Object implements TcpSSLContextSupport
Default implementation of TcpSSLContextSupport; uses a 'TLS' (by default) SSLContext, initialized with 'JKS' keystores, managed by 'SunX509' Key and Trust managers.
Since:
2.1
Author:
Gary Russell
  • Constructor Details

    • DefaultTcpSSLContextSupport

      public DefaultTcpSSLContextSupport(String keyStore, String trustStore, String keyStorePassword, String trustStorePassword)
      Prepares for the creation of an SSLContext using the supplied key/trust stores and passwords.
      Parameters:
      keyStore - A Resource pattern pointing to the keyStore.
      trustStore - A Resource pattern pointing to the trustStore.
      keyStorePassword - The password for the keyStore.
      trustStorePassword - The password for the trustStore.
  • Method Details