Class DefaultFtpsSessionFactory

java.lang.Object
org.springframework.integration.ftp.session.AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
org.springframework.integration.ftp.session.DefaultFtpsSessionFactory
All Implemented Interfaces:
SessionFactory<org.apache.commons.net.ftp.FTPFile>

public class DefaultFtpsSessionFactory extends AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
SessionFactory for FTPS.
Since:
2.0
Author:
Josh Long, Iwein Fuld, Mark Fisher, Gary Russell
  • Constructor Details

    • DefaultFtpsSessionFactory

      public DefaultFtpsSessionFactory()
  • Method Details

    • setProtocol

      public void setProtocol(String protocol)
    • setUseClientMode

      public void setUseClientMode(Boolean useClientMode)
    • setSessionCreation

      public void setSessionCreation(Boolean sessionCreation)
    • setAuthValue

      public void setAuthValue(String authValue)
    • setTrustManager

      public void setTrustManager(TrustManager trustManager)
    • setCipherSuites

      public void setCipherSuites(String[] cipherSuites)
    • setProtocols

      public void setProtocols(String[] protocols)
    • setKeyManager

      public void setKeyManager(KeyManager keyManager)
    • setNeedClientAuth

      public void setNeedClientAuth(Boolean needClientAuth)
    • setWantsClientAuth

      public void setWantsClientAuth(Boolean wantsClientAuth)
    • setProt

      public void setProt(String prot)
    • setImplicit

      public void setImplicit(boolean implicit)
    • createClientInstance

      protected org.apache.commons.net.ftp.FTPSClient createClientInstance()
      Specified by:
      createClientInstance in class AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
    • postProcessClientAfterConnect

      protected void postProcessClientAfterConnect(org.apache.commons.net.ftp.FTPSClient ftpsClient) throws IOException
      Description copied from class: AbstractFtpSessionFactory
      Will handle additional initialization after client.connect() method was invoked, but before any action on the client has been taken.
      Overrides:
      postProcessClientAfterConnect in class AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
      Parameters:
      ftpsClient - The client.
      Throws:
      IOException - Any IOException
    • postProcessClientBeforeConnect

      protected void postProcessClientBeforeConnect(org.apache.commons.net.ftp.FTPSClient ftpsClient)
      Description copied from class: AbstractFtpSessionFactory
      Will handle additional initialization before client.connect() method was invoked.
      Overrides:
      postProcessClientBeforeConnect in class AbstractFtpSessionFactory<org.apache.commons.net.ftp.FTPSClient>
      Parameters:
      ftpsClient - The client.