public abstract class FileTransferConnectionUsingPassword extends FileTransferConnection
FileTransferConnection.UserInfo
DEFAULT_EXPIRATION, DEFAULT_MAX_CACHE_SIZE
log
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, withCacheExpiration
prepareConnection, startConnection, stopConnection
addExceptionListener, addMessageConsumer, addMessageProducer, changeState, cloneForTesting, close, connectionErrorHandler, getConnectionErrorHandler, getLookupName, getUniqueId, getWorkersFirstOnShutdown, init, prepare, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, retrieveConnection, retrieveExceptionListeners, retrieveMessageConsumers, retrieveMessageProducers, setConnectionErrorHandler, setLookupName, setUniqueId, setWorkersFirstOnShutdown, start, stop, workersFirstOnShutdown
public java.lang.String getDefaultPassword()
public void setDefaultPassword(java.lang.String s)
s
- the password.Password.MSCAPI_STYLE
,
Password.NON_PORTABLE_PASSWORD
,
Password.PORTABLE_PASSWORD
protected void initConnection() throws CoreException
AdaptrisConnectionImp
initConnection
in class FileTransferConnection
CoreException
- wrapping any exception.NoOpConnection.initConnection()
protected FileTransferConnection.UserInfo createUserInfo() throws FileTransferException
createUserInfo
in class FileTransferConnection
FileTransferException
protected java.lang.String defaultPassword()