public abstract class FileTransferConnectionUsingPassword extends FileTransferConnection
FileTransferConnection.UserInfoDEFAULT_EXPIRATION, DEFAULT_MAX_CACHE_SIZElog| Constructor and Description |
|---|
FileTransferConnectionUsingPassword() |
| Modifier and Type | Method and Description |
|---|---|
protected FileTransferConnection.UserInfo |
createUserInfo() |
protected java.lang.String |
defaultPassword() |
java.lang.String |
getDefaultPassword()
Get the password.
|
protected void |
initConnection()
Initialise the underlying connection.
|
void |
setDefaultPassword(java.lang.String s)
Set the password (supports encrypted passwords).
|
acceptProtocol, additionalDebug, cacheConnection, closeConnection, connect, create, defaultControlPort, disconnect, expirationMillis, forceRelativePath, getAdditionalDebug, getCacheConnection, getCacheExpiration, getDefaultControlPort, getDefaultUserName, getDirectoryRoot, getForceRelativePath, getMaxClientCacheSize, getWindowsWorkAround, maxClientCacheSize, setAdditionalDebug, setCacheConnection, setCacheExpiration, setDefaultControlPort, setDefaultUserName, setForceRelativePath, setMaxClientCache, setWindowsWorkAround, windowsWorkaround, withCacheExpirationprepareConnection, startConnection, stopConnectionaddExceptionListener, addMessageConsumer, addMessageProducer, changeState, cloneForTesting, close, connectionErrorHandler, getConnectionErrorHandler, getUniqueId, getWorkersFirstOnShutdown, init, prepare, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, retrieveConnection, retrieveExceptionListeners, retrieveMessageConsumers, retrieveMessageProducers, setConnectionErrorHandler, setUniqueId, setWorkersFirstOnShutdown, start, stop, workersFirstOnShutdownpublic java.lang.String getDefaultPassword()
public void setDefaultPassword(java.lang.String s)
s - the password.Password.MSCAPI_STYLE,
Password.NON_PORTABLE_PASSWORD,
Password.PORTABLE_PASSWORDprotected void initConnection()
throws CoreException
AdaptrisConnectionImpinitConnection in class FileTransferConnectionCoreException - wrapping any exception.NoOpConnection.initConnection()protected FileTransferConnection.UserInfo createUserInfo() throws FileTransferException
createUserInfo in class FileTransferConnectionFileTransferExceptionprotected java.lang.String defaultPassword()