public static class SSLFTPClient.ConfigFlags
extends java.lang.Object
ConfigFlags
contains various static integers which are used
to configure clients. Apart from the IMPLICIT_FTPS
flag,
all flags are used to enable non-standard behaviour, which is sometimes
necessary when connecting to servers that don't comply fully with the
standard.
Examples:
DISABLE_DATA_WAIT_ON_CLOSE
flag. The control channel closure conforms to the standard.DISABLE_SSL_CLOSURE
flag.SSLFTPClient
instances via setConfigFlags
.Modifier and Type | Field and Description |
---|---|
static int |
ALLOW_BASIC_CONSTRAINTS_IN_NON_CA
Enabling this flag relaxes the checking of basic constraints.
|
static int |
DISABLE_CONTROL_SSL_CLOSURE
Disables standard SSL closure on the control channel forcing
SSL connections to close in a non-standard (and insecure) manner.
|
static int |
DISABLE_CONTROL_WAIT_ON_CLOSE
Stops the client waiting for an SSL closure acknowledgement on
the control channel.
|
static int |
DISABLE_DATA_SSL_CLOSURE
Disables standard SSL closure on the data channel forcing
SSL connections to close in a non-standard (and insecure) manner.
|
static int |
DISABLE_DATA_WAIT_ON_CLOSE
Stops the client waiting for an SSL closure acknowledgement on
the data channel.
|
static int |
DISABLE_SESSION_RESUMPTION
Disables SSL/TLS session resumption.
|
static int |
DISABLE_SSL_CLOSURE
Disables standard SSL closure forcing on both data and control
channels SSL connections to close in a non-standard (and insecure)
manner.
|
static int |
DISABLE_WAIT_ON_CLOSE
Stops the client waiting for an SSL closure acknowledgement on
both the control channel and the data channel.
|
static int |
IMPLICIT_FTPS
Deprecated.
|
static int |
START_WITH_CLEAR_DATA_CHANNELS
By default
SSLFTPClient switches to private
data channels immediately after the auth(String) method
is called. |
Constructor and Description |
---|
ConfigFlags() |
public static final int DISABLE_CONTROL_SSL_CLOSURE
Note that it is unnecessary to use the
DISABLE_CONTROL_WAIT_ON_CLOSE
when using
this flag.
public static final int DISABLE_DATA_SSL_CLOSURE
Note that it is unnecessary to use the
DISABLE_DATA_WAIT_ON_CLOSE
when using
this flag.
public static final int DISABLE_SSL_CLOSURE
Note that it is unnecessary to use the
DISABLE_WAIT_ON_CLOSE
when using
this flag.
public static final int DISABLE_CONTROL_WAIT_ON_CLOSE
Note that it is unnecessary to use this flag when the
DISABLE_CONTROL_SSL_CLOSURE
flag is on.
public static final int DISABLE_DATA_WAIT_ON_CLOSE
Note that it is unnecessary to use this flag when the
DISABLE_DATA_SSL_CLOSURE
flag is on.
public static final int DISABLE_WAIT_ON_CLOSE
Note that it is unnecessary to use this flag when the
DISABLE_SSL_CLOSURE
flag is on.
public static final int START_WITH_CLEAR_DATA_CHANNELS
SSLFTPClient
switches to private
data channels immediately after the auth(String)
method
is called. It does this by invoking pbsz(0)
and
prot('P')
from inside the auth()
method.
This flag stops this behaviour.public static final int IMPLICIT_FTPS
SSLFTPClient.setImplicitFTPS(boolean)
Implicit FTPS is not recommended because it is not compatible with FTP standards and not supported by as many systems. It is however, no less secure than explicit FTPS.
public static final int ALLOW_BASIC_CONSTRAINTS_IN_NON_CA
public static final int DISABLE_SESSION_RESUMPTION
Copyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.