org.apache.commons.vfs2.provider.ftps
Class FtpsClientFactory

java.lang.Object
  extended by org.apache.commons.vfs2.provider.ftps.FtpsClientFactory

public final class FtpsClientFactory
extends Object

Create a FtpClient instance.

Since:
2.0
Version:
$Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Mi, 29 Nov 2006) $
Author:
Commons VFS team

Field Summary
protected static KeyManager clientKeyManager
           
protected static TrustManager clientTrustManager
           
protected static String KEY_PASSWD
           
protected static String KEYSTORE
           
protected static String KS_PASSWD
           
protected static String TRUSTSTORE
           
protected static String TS_PASSWD
           
 
Method Summary
static org.apache.commons.net.ftp.FTPSClient createConnection(String hostname, int port, char[] username, char[] password, String workingDirectory, FileSystemOptions fileSystemOptions)
          Creates a new connection to the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KS_PASSWD

protected static String KS_PASSWD

TS_PASSWD

protected static String TS_PASSWD

KEY_PASSWD

protected static String KEY_PASSWD

KEYSTORE

protected static String KEYSTORE

TRUSTSTORE

protected static String TRUSTSTORE

clientKeyManager

protected static KeyManager clientKeyManager

clientTrustManager

protected static TrustManager clientTrustManager
Method Detail

createConnection

public static org.apache.commons.net.ftp.FTPSClient createConnection(String hostname,
                                                                     int port,
                                                                     char[] username,
                                                                     char[] password,
                                                                     String workingDirectory,
                                                                     FileSystemOptions fileSystemOptions)
                                                              throws FileSystemException
Creates a new connection to the server.

Parameters:
hostname - The host name.
port - The port.
username - The user name for authentication.
password - The user's password.
workingDirectory - The directory to use.
fileSystemOptions - The FileSystemOptions.
Returns:
The FTPSClient.
Throws:
FileSystemException - if an error occurs.


Copyright © 2002–2015 WSO2. All rights reserved.