Package com.adaptris.core.ftp
Class FileTransferConnectionUsingPassword
java.lang.Object
com.adaptris.core.AdaptrisConnectionImp
com.adaptris.core.NoOpConnection
com.adaptris.core.ftp.FileTransferConnection
com.adaptris.core.ftp.FileTransferConnectionUsingPassword
- All Implemented Interfaces:
AdaptrisComponent,AdaptrisConnection,ComponentLifecycle,ComponentLifecycleExtension,StateManagedComponent
- Direct Known Subclasses:
FtpConnectionImp
Common data/methods for file transfer connections that use username/password
-
Nested Class Summary
Nested classes/interfaces inherited from class com.adaptris.core.ftp.FileTransferConnection
FileTransferConnection.UserInfo -
Field Summary
Fields inherited from class com.adaptris.core.ftp.FileTransferConnection
DEFAULT_EXPIRATION, DEFAULT_MAX_CACHE_SIZEFields inherited from class com.adaptris.core.AdaptrisConnectionImp
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FileTransferConnection.UserInfoprotected StringGet the password.protected voidInitialise the underlying connection.voidSet the password (supports encrypted passwords).Methods inherited from class com.adaptris.core.ftp.FileTransferConnection
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, withCacheExpirationMethods inherited from class com.adaptris.core.NoOpConnection
prepareConnection, startConnection, stopConnectionMethods inherited from class com.adaptris.core.AdaptrisConnectionImp
addExceptionListener, addMessageConsumer, addMessageProducer, changeState, cloneForTesting, close, connectionErrorHandler, connectionStateHandler, getConnectionErrorHandler, getConnectionStateHandler, getRuntimeComponent, getUniqueId, getWorkersFirstOnShutdown, init, prepare, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, retrieveConnection, retrieveExceptionListeners, retrieveMessageConsumers, retrieveMessageProducers, setConnectionErrorHandler, setConnectionStateHandler, setRuntimeComponent, setUniqueId, setWorkersFirstOnShutdown, start, stop, workersFirstOnShutdown
-
Constructor Details
-
FileTransferConnectionUsingPassword
public FileTransferConnectionUsingPassword()
-
-
Method Details
-
getDefaultPassword
Get the password.- Returns:
- the password.
-
setDefaultPassword
Set the password (supports encrypted passwords).- Parameters:
s- the password.- See Also:
-
initConnection
Description copied from class:AdaptrisConnectionImpInitialise the underlying connection.- Overrides:
initConnectionin classFileTransferConnection- Throws:
CoreException- wrapping any exception.- See Also:
-
createUserInfo
- Specified by:
createUserInfoin classFileTransferConnection- Throws:
FileTransferException
-
defaultPassword
-