Package org.alfresco.filesys.config
Class FTPConfigBean
java.lang.Object
org.alfresco.filesys.config.FTPConfigBean
The Class FTPConfigBean.
- Author:
- dward
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if is allow anonymous.Gets the anonymous account.org.alfresco.jlan.ftp.FTPAuthenticatorGets the authenticator.Gets the bind to.Gets the char set.intReturn the data port range from portintReturn the data port to range portGets the debug flags.Return the IP Address to use in NAT setupfinal StringReturn the passphrase for the key storefinal StringReturn the key store pathfinal StringReturn the key store typegetPort()Gets the port.Gets the root directory.booleanChecks if is server enabled.Gets the sesion timeoutfinal StringReturn the passphrase for the trust storefinal StringReturn the trust store pathfinal StringReturn the trust store typefinal booleanDetermine if only secure sessions will be allowed to logonfinal booleanCheck if SSLEngine debug output should be enabledvoidsetAllowAnonymous(boolean allowAnonymous) Sets the allow anonymous.voidsetAnonymousAccount(String anonymousAccount) Sets the anonymous account.voidsetAuthenticator(org.alfresco.jlan.ftp.FTPAuthenticator authenticator) Sets the authenticator.voidSets the bind to.voidsetCharSet(String charSet) Sets the char set.voidsetDataPortFrom(int fromPort) Set the data port range from portvoidsetDataPortTo(int toPort) Set the data port range to portvoidsetDebugFlags(String debugFlags) Sets the debug flags.voidsetExternalAddress(String externalAddress) Set the IP Address to use in NAT setupfinal voidsetKeyStorePassphrase(String phrase) Set the key store passphrasefinal voidsetKeyStorePath(String path) Set the key store pathfinal voidsetKeyStoreType(String typ) Set the key store typevoidSets the port.final voidsetRequireSecureSession(boolean reqSec) Set/clear the require secure sessions flagvoidsetRootDirectory(String rootDirectory) Sets the root directory.voidsetServerEnabled(boolean serverEnabled) Sets the server enabled.voidsetSessionTimeout(Integer sessionTimeout) Sets the timeout for socket session.final voidsetSslEngineDebug(boolean sslDebug) Enable SSLEngine class debug outputfinal voidsetTrustStorePassphrase(String phrase) Set the trust store passphrasefinal voidsetTrustStorePath(String path) Set the trust store pathfinal voidsetTrustStoreType(String typ) Set the trust store type
-
Constructor Details
-
FTPConfigBean
public FTPConfigBean()
-
-
Method Details
-
getServerEnabled
public boolean getServerEnabled()Checks if is server enabled.- Returns:
- true, if is server enabled
-
setServerEnabled
public void setServerEnabled(boolean serverEnabled) Sets the server enabled.- Parameters:
serverEnabled- the new server enabled
-
getBindTo
Gets the bind to.- Returns:
- the bind to
-
setBindTo
Sets the bind to.- Parameters:
bindTo- the new bind to
-
getPort
Gets the port.- Returns:
- the port
-
setPort
Sets the port.- Parameters:
port- the new port
-
setSessionTimeout
Sets the timeout for socket session.- Parameters:
sessionTimeout- the new timeout
-
getSessionTimeout
Gets the sesion timeout- Returns:
- Integer
-
getAllowAnonymous
public boolean getAllowAnonymous()Checks if is allow anonymous.- Returns:
- true, if is allow anonymous
-
setAllowAnonymous
public void setAllowAnonymous(boolean allowAnonymous) Sets the allow anonymous.- Parameters:
allowAnonymous- the new allow anonymous
-
getAnonymousAccount
Gets the anonymous account.- Returns:
- the anonymous account
-
setAnonymousAccount
Sets the anonymous account.- Parameters:
anonymousAccount- the new anonymous account
-
getRootDirectory
Gets the root directory.- Returns:
- the root directory
-
setRootDirectory
Sets the root directory.- Parameters:
rootDirectory- the new root directory
-
getDebugFlags
Gets the debug flags.- Returns:
- the debug flags
-
setDebugFlags
Sets the debug flags.- Parameters:
debugFlags- the new debug flags
-
getCharSet
Gets the char set.- Returns:
- the char set
-
setCharSet
Sets the char set.- Parameters:
charSet- the new char set
-
getAuthenticator
public org.alfresco.jlan.ftp.FTPAuthenticator getAuthenticator()Gets the authenticator.- Returns:
- the authenticator
-
setAuthenticator
public void setAuthenticator(org.alfresco.jlan.ftp.FTPAuthenticator authenticator) Sets the authenticator.- Parameters:
authenticator- the new authenticator
-
getDataPortFrom
public int getDataPortFrom()Return the data port range from port- Returns:
- int
-
setDataPortFrom
public void setDataPortFrom(int fromPort) Set the data port range from port- Parameters:
fromPort- int
-
getDataPortTo
public int getDataPortTo()Return the data port to range port- Returns:
- int
-
setDataPortTo
public void setDataPortTo(int toPort) Set the data port range to port- Parameters:
toPort- int
-
getExternalAddress
Return the IP Address to use in NAT setup -
setExternalAddress
Set the IP Address to use in NAT setup -
getKeyStorePath
Return the key store path- Returns:
- String
-
getKeyStoreType
Return the key store type- Returns:
- String
-
getTrustStorePath
Return the trust store path- Returns:
- String
-
getTrustStoreType
Return the trust store type- Returns:
- String
-
getKeyStorePassphrase
Return the passphrase for the key store- Returns:
- String
-
getTrustStorePassphrase
Return the passphrase for the trust store- Returns:
- String
-
hasRequireSecureSession
public final boolean hasRequireSecureSession()Determine if only secure sessions will be allowed to logon- Returns:
- boolean
-
setRequireSecureSession
public final void setRequireSecureSession(boolean reqSec) Set/clear the require secure sessions flag- Parameters:
reqSec- boolean
-
setKeyStorePath
Set the key store path- Parameters:
path- String
-
setKeyStoreType
Set the key store type- Parameters:
typ- String
-
setTrustStorePath
Set the trust store path- Parameters:
path- String
-
setTrustStoreType
Set the trust store type- Parameters:
typ- String
-
setKeyStorePassphrase
Set the key store passphrase- Parameters:
phrase- String
-
setTrustStorePassphrase
Set the trust store passphrase- Parameters:
phrase- String
-
hasSslEngineDebug
public final boolean hasSslEngineDebug()Check if SSLEngine debug output should be enabled- Returns:
- boolean
-
setSslEngineDebug
public final void setSslEngineDebug(boolean sslDebug) Enable SSLEngine class debug output- Parameters:
sslDebug- boolean
-