/** * Sets the data channel protection level (PROT). * * @param opts The FileSystemOptions. * @param prot The PROT value, {@code null} has no effect. * @see org.apache.commons.net.ftp.FTPSClient#execPROT(String) * @since 2.1 */ public void setDataChannelProtectionLevel(final FileSystemOptions opts, final FtpsDataChannelProtectionLevel prot) { setParam(opts, PROT, prot); }
/** * Sets the KeyManager used to provide a client-side certificate if the FTPS server requests it. * * @param opts The FileSystemOptions. * @param keyManager The key manager instance. * @see org.apache.commons.net.ftp.FTPSClient#setKeyManager(KeyManager) * @since 2.1 */ public void setKeyManager(final FileSystemOptions opts, final KeyManager keyManager) { setParam(opts, KEY_MANAGER, keyManager); }
/** * Sets the KeyManager used to provide a client-side certificate if the FTPS server requests it. * * @param opts The FileSystemOptions. * @param keyManager The key manager instance. * @see org.apache.commons.net.ftp.FTPSClient#setKeyManager(KeyManager) * @since 2.1 */ public void setKeyManager(final FileSystemOptions opts, final KeyManager keyManager) { setParam(opts, KEY_MANAGER, keyManager); }
/** * Sets the KeyManager used to provide a client-side certificate if the FTPS server requests it. * * @param opts The FileSystemOptions. * @param keyManager The key manager instance. * @see org.apache.commons.net.ftp.FTPSClient#setKeyManager(KeyManager) * @since 2.1 */ public void setKeyManager(final FileSystemOptions opts, final KeyManager keyManager) { setParam(opts, KEY_MANAGER, keyManager); }
/** * Sets the data channel protection level (PROT). * * @param opts The FileSystemOptions. * @param prot The PROT value, {@code null} has no effect. * @see org.apache.commons.net.ftp.FTPSClient#execPROT(String) * @since 2.1 */ public void setDataChannelProtectionLevel(final FileSystemOptions opts, final FtpsDataChannelProtectionLevel prot) { setParam(opts, PROT, prot); }
/** * Sets the KeyManager used to provide a client-side certificate if the FTPS server requests it. * * @param opts The FileSystemOptions. * @param keyManager The key manager instance. * @see org.apache.commons.net.ftp.FTPSClient#setKeyManager(KeyManager) * @since 2.1 */ public void setKeyManager(final FileSystemOptions opts, final KeyManager keyManager) { setParam(opts, KEY_MANAGER, keyManager); }
/** * Sets the TrustManager that validates the FTPS server's certificate. * * @param opts The FileSystemOptions. * @param trustManager The trust manager instance. * @see org.apache.commons.net.ftp.FTPSClient#setTrustManager(TrustManager) * @since 2.1 */ public void setTrustManager(final FileSystemOptions opts, final TrustManager trustManager) { setParam(opts, TRUST_MANAGER, trustManager); } }
/** * Sets the TrustManager that validates the FTPS server's certificate. * * @param opts The FileSystemOptions. * @param trustManager The trust manager instance. * @see org.apache.commons.net.ftp.FTPSClient#setTrustManager(TrustManager) * @since 2.1 */ public void setTrustManager(final FileSystemOptions opts, final TrustManager trustManager) { setParam(opts, TRUST_MANAGER, trustManager); } }
/** * Sets the TrustManager that validates the FTPS server's certificate. * * @param opts The FileSystemOptions. * @param trustManager The trust manager instance. * @see org.apache.commons.net.ftp.FTPSClient#setTrustManager(TrustManager) * @since 2.1 */ public void setTrustManager(final FileSystemOptions opts, final TrustManager trustManager) { setParam(opts, TRUST_MANAGER, trustManager); }
/** * Sets the data channel protection level (PROT). * * @param opts The FileSystemOptions. * @param prot The PROT value, {@code null} has no effect. * @see org.apache.commons.net.ftp.FTPSClient#execPROT(String) * @since 2.1 */ public void setDataChannelProtectionLevel(final FileSystemOptions opts, final FtpsDataChannelProtectionLevel prot) { setParam(opts, PROT, prot); }
public void setServerSocketFactoryWrapper(FileSystemOptions opts, ServerSocketFactoryWrapper value) { setParam(opts, SERVER_SOCKET_FACTORY_WRAPPER, value); } // [IntelliJ] socket factory --------------
/** * Sets the data channel protection level (PROT). * * @param opts The FileSystemOptions. * @param prot The PROT value, {@code null} has no effect. * @see org.apache.commons.net.ftp.FTPSClient#execPROT(String) * @since 2.1 */ public void setDataChannelProtectionLevel(final FileSystemOptions opts, final FtpsDataChannelProtectionLevel prot) { setParam(opts, PROT, prot); }
/** * Sets the TrustManager that validates the FTPS server's certificate. * * @param opts The FileSystemOptions. * @param trustManager The trust manager instance. * @see org.apache.commons.net.ftp.FTPSClient#setTrustManager(TrustManager) * @since 2.1 */ public void setTrustManager(final FileSystemOptions opts, final TrustManager trustManager) { setParam(opts, TRUST_MANAGER, trustManager); } }
public void setSocketFactoryWrapper(FileSystemOptions opts, SocketFactoryWrapper value) { setParam(opts, SOCKET_FACTORY_WRAPPER, value); }
public void setShareSslContext(FileSystemOptions opts, boolean value) { setParam(opts, SHARE_SSL_CONTEXT, value); }
/** * Set FTPS mode, either "implicit" or "explicit". * * <p> * Note, that implicit mode is not standardized and considered as deprecated. Some unit tests for VFS fail with * implicit mode and it is not yet clear if its a problem with Commons VFS/Commons Net or our test server Apache * FTP/SSHD. * </p> * * @param opts The FileSystemOptions. * @param ftpsMode The mode to establish a FTPS connection. * @see <a href="http://en.wikipedia.org/wiki/FTPS#Implicit">Wikipedia: FTPS/Implicit</a> * @since 2.1 */ public void setFtpsMode(final FileSystemOptions opts, final FtpsMode ftpsMode) { setParam(opts, FTPS_MODE, ftpsMode); }
/** * Set FTPS mode, either "implicit" or "explicit". * * <p>Note, that implicit mode is not standardized and considered as deprecated. Some unit tests for VFS fail with * implicit mode and it is not yet clear if its a problem with Commons VFS/Commons Net or our test server Apache * FTP/SSHD.</p> * * @param opts The FileSystemOptions. * @param ftpsMode The mode to establish a FTPS connection. * @see <a href="http://en.wikipedia.org/wiki/FTPS#Implicit">Wikipedia: FTPS/Implicit</a> * @since 2.1 */ public void setFtpsMode(final FileSystemOptions opts, final FtpsMode ftpsMode) { setParam(opts, FTPS_MODE, ftpsMode); }
/** * Set FTPS mode, either "implicit" or "explicit". * * <p> * Note, that implicit mode is not standardized and considered as deprecated. Some unit tests for VFS fail with * implicit mode and it is not yet clear if its a problem with Commons VFS/Commons Net or our test server Apache * FTP/SSHD. * </p> * * @param opts The FileSystemOptions. * @param ftpsMode The mode to establish a FTPS connection. * @see <a href="http://en.wikipedia.org/wiki/FTPS#Implicit">Wikipedia: FTPS/Implicit</a> * @since 2.1 */ public void setFtpsMode(final FileSystemOptions opts, final FtpsMode ftpsMode) { setParam(opts, FTPS_MODE, ftpsMode); }
/** * Sets FTPS mode, either "implicit" or "explicit". * * <p> * Note, that implicit mode is not standardized and considered as deprecated. Some unit tests for VFS fail with * implicit mode and it is not yet clear if its a problem with Commons VFS/Commons Net or our test server Apache * FTP/SSHD. * </p> * * @param opts The FileSystemOptions. * @param ftpsMode The mode to establish a FTPS connection. * @see <a href="http://en.wikipedia.org/wiki/FTPS#Implicit">Wikipedia: FTPS/Implicit</a> * @since 2.1 */ public void setFtpsMode(final FileSystemOptions opts, final FtpsMode ftpsMode) { setParam(opts, FTPS_MODE, ftpsMode); }