Class SftpConfiguration
- java.lang.Object
-
- com.jscape.inet.mft.management.descriptors.Configuration
-
- com.jscape.inet.mft.management.descriptors.TransportServiceConfiguration
-
- com.jscape.inet.mft.management.descriptors.SftpConfiguration
-
- All Implemented Interfaces:
com.jscape.util.db.IntVersioned,java.io.Serializable
public class SftpConfiguration extends TransportServiceConfiguration
SFTP service configuration descriptor.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAUTH_BANNERSFTP authentication banner flag.static java.lang.StringCONNECTION_TIMEOUTSFTP connection timeout flag.static java.lang.StringSOFTWARE_VERSIONSFTP software version flag.static java.lang.StringSTARTUP_BANNERSFTP startup banner flag.static java.lang.StringSUPPORTED_CIPHERSSFTP cipher algorithms sequence flag.static java.lang.StringSUPPORTED_COMPRESSIONSSFTP compression algorithms sequence flag.static java.lang.StringSUPPORTED_KEXESSFTP key exchange algorithms sequence flag.static java.lang.StringSUPPORTED_KEYSSFTP host/public key algorithms sequence flag.static java.lang.StringSUPPORTED_MACSSFTP MAC algorithms sequence flag.
-
Constructor Summary
Constructors Constructor Description SftpConfiguration()Creates new instance.SftpConfiguration(SftpConfiguration that)Creates new instance from existing instance.SftpConfiguration(SftpConfiguration that, java.util.Map options)Creates new instance from existing instance.SftpConfiguration(java.lang.String startupBanner, java.lang.String softwareVersion, java.lang.String authBanner, java.lang.String[] supportedKexes, java.lang.String[] supportedKeys, java.lang.String[] supportedCiphers, java.lang.String[] supportedMacs, java.lang.String[] supportedCompressions, long connectionTimeout, java.lang.Integer receiveBufferSize, java.lang.Integer sendBufferSize, boolean tcpNoDelayEnabled, boolean disableRealPathExpandedLongName, int backlog)Creates new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Configurationcopy()java.lang.StringgetAuthBanner()Gets authentication banner.intgetBacklog()longgetConnectionTimeout()Sets connection timeout in ms.java.lang.IntegergetReceiveBufferSize()Gets socket receive buffer size in bytes.java.lang.IntegergetSendBufferSize()Gets socket send buffer size in bytes.java.lang.StringgetSoftwareVersion()Gets software version.java.lang.StringgetStartupBanner()Gets startup banner.java.lang.String[]getSupportedCiphers()Sets ciphers.java.lang.String[]getSupportedCompressions()Gets compression algorithms.java.lang.String[]getSupportedKexes()Gets key exchange algorithms.java.lang.String[]getSupportedKeys()Gets key algorithms.java.lang.String[]getSupportedMacs()Gets MAC (message authentication) algorithms.booleanisDisableRealPathExpandedLongName()booleanisTcpNoDelayEnabled()voidsetAuthBanner(java.lang.String value)Sets authentication banner.voidsetBacklog(int value)voidsetConnectionTimeout(long value)Sets connection timeout in ms.voidsetDisableRealPathExpandedLongName(boolean value)voidsetReceiveBufferSize(java.lang.Integer value)Sets receive buffer size in bytes.voidsetSendBufferSize(java.lang.Integer value)Sets send buffer size in bytes.voidsetSoftwareVersion(java.lang.String value)Sets software version.voidsetStartupBanner(java.lang.String value)Sets startup banner.voidsetSupportedCiphers(java.lang.String[] value)Gets ciphers.voidsetSupportedCompressions(java.lang.String[] value)Sets compression algorithms.voidsetSupportedKexes(java.lang.String[] value)Sets key exchange algorithms.voidsetSupportedKeys(java.lang.String[] value)Sets key algorithms.voidsetSupportedMacs(java.lang.String[] value)Sets MAC (message authentication) algorithms.voidsetTcpNoDelayEnabled(boolean value)java.lang.StringtoString()-
Methods inherited from class com.jscape.inet.mft.management.descriptors.Configuration
getVersion, setVersion
-
-
-
-
Field Detail
-
STARTUP_BANNER
public static final java.lang.String STARTUP_BANNER
SFTP startup banner flag.- See Also:
- Constant Field Values
-
SOFTWARE_VERSION
public static final java.lang.String SOFTWARE_VERSION
SFTP software version flag.- See Also:
- Constant Field Values
-
AUTH_BANNER
public static final java.lang.String AUTH_BANNER
SFTP authentication banner flag.- See Also:
- Constant Field Values
-
SUPPORTED_KEXES
public static final java.lang.String SUPPORTED_KEXES
SFTP key exchange algorithms sequence flag.- See Also:
- Constant Field Values
-
SUPPORTED_KEYS
public static final java.lang.String SUPPORTED_KEYS
SFTP host/public key algorithms sequence flag.- See Also:
- Constant Field Values
-
SUPPORTED_CIPHERS
public static final java.lang.String SUPPORTED_CIPHERS
SFTP cipher algorithms sequence flag.- See Also:
- Constant Field Values
-
SUPPORTED_MACS
public static final java.lang.String SUPPORTED_MACS
SFTP MAC algorithms sequence flag.- See Also:
- Constant Field Values
-
SUPPORTED_COMPRESSIONS
public static final java.lang.String SUPPORTED_COMPRESSIONS
SFTP compression algorithms sequence flag.- See Also:
- Constant Field Values
-
CONNECTION_TIMEOUT
public static final java.lang.String CONNECTION_TIMEOUT
SFTP connection timeout flag.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SftpConfiguration
public SftpConfiguration(java.lang.String startupBanner, java.lang.String softwareVersion, java.lang.String authBanner, java.lang.String[] supportedKexes, java.lang.String[] supportedKeys, java.lang.String[] supportedCiphers, java.lang.String[] supportedMacs, java.lang.String[] supportedCompressions, long connectionTimeout, java.lang.Integer receiveBufferSize, java.lang.Integer sendBufferSize, boolean tcpNoDelayEnabled, boolean disableRealPathExpandedLongName, int backlog)Creates new instance.- Parameters:
startupBanner- startup bannersoftwareVersion- software versionauthBanner- authentication bannersupportedKexes- supported key exchange algorithmssupportedKeys- supported key algorithmssupportedCiphers- supported cipher algorithmssupportedMacs- supported MAC algorithmssupportedCompressions- supported compression algorithmsconnectionTimeout- connection timeout in msreceiveBufferSize- socket receive buffer size in bytessendBufferSize- socket send buffer size in bytes
-
SftpConfiguration
public SftpConfiguration(SftpConfiguration that)
Creates new instance from existing instance.- Parameters:
that- an instance to copy
-
SftpConfiguration
public SftpConfiguration(SftpConfiguration that, java.util.Map options)
Creates new instance from existing instance.- Parameters:
that- an instance to copyoptions- additional options
-
SftpConfiguration
public SftpConfiguration()
Creates new instance.
-
-
Method Detail
-
getStartupBanner
public java.lang.String getStartupBanner()
Gets startup banner.- Returns:
- startup banner
-
setStartupBanner
public void setStartupBanner(java.lang.String value)
Sets startup banner.- Parameters:
value- startup banner
-
getSoftwareVersion
public java.lang.String getSoftwareVersion()
Gets software version.- Returns:
- software version
-
setSoftwareVersion
public void setSoftwareVersion(java.lang.String value)
Sets software version.- Parameters:
value- software version
-
getAuthBanner
public java.lang.String getAuthBanner()
Gets authentication banner.- Returns:
- authentication banner
-
setAuthBanner
public void setAuthBanner(java.lang.String value)
Sets authentication banner.- Parameters:
value- authentication banner
-
getSupportedKexes
public java.lang.String[] getSupportedKexes()
Gets key exchange algorithms.- Returns:
- supported key exchange algorithms
-
setSupportedKexes
public void setSupportedKexes(java.lang.String[] value)
Sets key exchange algorithms.- Parameters:
value- supported key exchange algorithms
-
getSupportedKeys
public java.lang.String[] getSupportedKeys()
Gets key algorithms.- Returns:
- supported key algorithms
-
setSupportedKeys
public void setSupportedKeys(java.lang.String[] value)
Sets key algorithms.- Parameters:
value- supported key algorithms
-
getSupportedCiphers
public java.lang.String[] getSupportedCiphers()
Sets ciphers.- Returns:
- supported cipher algorithms
-
setSupportedCiphers
public void setSupportedCiphers(java.lang.String[] value)
Gets ciphers.- Parameters:
value- supported cipher algorithms
-
getSupportedMacs
public java.lang.String[] getSupportedMacs()
Gets MAC (message authentication) algorithms.- Returns:
- supported MAC algorithms
-
setSupportedMacs
public void setSupportedMacs(java.lang.String[] value)
Sets MAC (message authentication) algorithms.- Parameters:
value- supported MAC algorithms
-
getSupportedCompressions
public java.lang.String[] getSupportedCompressions()
Gets compression algorithms.- Returns:
- supported compression algorithms
-
setSupportedCompressions
public void setSupportedCompressions(java.lang.String[] value)
Sets compression algorithms.- Parameters:
value- supported compression algorithms
-
getConnectionTimeout
public long getConnectionTimeout()
Sets connection timeout in ms.- Returns:
- connection timeout
-
setConnectionTimeout
public void setConnectionTimeout(long value)
Sets connection timeout in ms.- Parameters:
value- connection timeout
-
getReceiveBufferSize
public java.lang.Integer getReceiveBufferSize()
Gets socket receive buffer size in bytes.- Returns:
- receive buffer size
-
setReceiveBufferSize
public void setReceiveBufferSize(java.lang.Integer value)
Sets receive buffer size in bytes.- Parameters:
value- receive buffer size
-
getSendBufferSize
public java.lang.Integer getSendBufferSize()
Gets socket send buffer size in bytes.- Returns:
- send buffer size
-
setSendBufferSize
public void setSendBufferSize(java.lang.Integer value)
Sets send buffer size in bytes.- Parameters:
value- send buffer size
-
isTcpNoDelayEnabled
public boolean isTcpNoDelayEnabled()
-
setTcpNoDelayEnabled
public void setTcpNoDelayEnabled(boolean value)
-
isDisableRealPathExpandedLongName
public boolean isDisableRealPathExpandedLongName()
-
setDisableRealPathExpandedLongName
public void setDisableRealPathExpandedLongName(boolean value)
-
getBacklog
public int getBacklog()
-
setBacklog
public void setBacklog(int value)
-
copy
public Configuration copy()
- Specified by:
copyin classConfiguration
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-