public class FTPConfigBean extends Object
Constructor and Description |
---|
FTPConfigBean() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAllowAnonymous()
Checks if is allow anonymous.
|
String |
getAnonymousAccount()
Gets the anonymous account.
|
org.alfresco.jlan.ftp.FTPAuthenticator |
getAuthenticator()
Gets the authenticator.
|
String |
getBindTo()
Gets the bind to.
|
String |
getCharSet()
Gets the char set.
|
int |
getDataPortFrom()
Return the data port range from port
|
int |
getDataPortTo()
Return the data port to range port
|
String |
getDebugFlags()
Gets the debug flags.
|
String |
getKeyStorePassphrase()
Return the passphrase for the key store
|
String |
getKeyStorePath()
Return the key store path
|
String |
getKeyStoreType()
Return the key store type
|
Integer |
getPort()
Gets the port.
|
String |
getRootDirectory()
Gets the root directory.
|
boolean |
getServerEnabled()
Checks if is server enabled.
|
Integer |
getSessionTimeout()
Gets the sesion timeout
|
String |
getTrustStorePassphrase()
Return the passphrase for the trust store
|
String |
getTrustStorePath()
Return the trust store path
|
String |
getTrustStoreType()
Return the trust store type
|
boolean |
hasRequireSecureSession()
Determine if only secure sessions will be allowed to logon
|
boolean |
hasSslEngineDebug()
Check if SSLEngine debug output should be enabled
|
void |
setAllowAnonymous(boolean allowAnonymous)
Sets the allow anonymous.
|
void |
setAnonymousAccount(String anonymousAccount)
Sets the anonymous account.
|
void |
setAuthenticator(org.alfresco.jlan.ftp.FTPAuthenticator authenticator)
Sets the authenticator.
|
void |
setBindTo(String bindTo)
Sets the bind to.
|
void |
setCharSet(String charSet)
Sets the char set.
|
void |
setDataPortFrom(int fromPort)
Set the data port range from port
|
void |
setDataPortTo(int toPort)
Set the data port range to port
|
void |
setDebugFlags(String debugFlags)
Sets the debug flags.
|
void |
setKeyStorePassphrase(String phrase)
Set the key store passphrase
|
void |
setKeyStorePath(String path)
Set the key store path
|
void |
setKeyStoreType(String typ)
Set the key store type
|
void |
setPort(Integer port)
Sets the port.
|
void |
setRequireSecureSession(boolean reqSec)
Set/clear the require secure sessions flag
|
void |
setRootDirectory(String rootDirectory)
Sets the root directory.
|
void |
setServerEnabled(boolean serverEnabled)
Sets the server enabled.
|
void |
setSessionTimeout(Integer sessionTimeout)
Sets the timeout for socket session.
|
void |
setSslEngineDebug(boolean sslDebug)
Enable SSLEngine class debug output
|
void |
setTrustStorePassphrase(String phrase)
Set the trust store passphrase
|
void |
setTrustStorePath(String path)
Set the trust store path
|
void |
setTrustStoreType(String typ)
Set the trust store type
|
public boolean getServerEnabled()
public void setServerEnabled(boolean serverEnabled)
serverEnabled
- the new server enabledpublic String getBindTo()
public void setBindTo(String bindTo)
bindTo
- the new bind topublic Integer getPort()
public void setPort(Integer port)
port
- the new portpublic void setSessionTimeout(Integer sessionTimeout)
sessionTimeout
- the new timeoutpublic Integer getSessionTimeout()
public boolean getAllowAnonymous()
public void setAllowAnonymous(boolean allowAnonymous)
allowAnonymous
- the new allow anonymouspublic String getAnonymousAccount()
public void setAnonymousAccount(String anonymousAccount)
anonymousAccount
- the new anonymous accountpublic String getRootDirectory()
public void setRootDirectory(String rootDirectory)
rootDirectory
- the new root directorypublic String getDebugFlags()
public void setDebugFlags(String debugFlags)
debugFlags
- the new debug flagspublic String getCharSet()
public void setCharSet(String charSet)
charSet
- the new char setpublic org.alfresco.jlan.ftp.FTPAuthenticator getAuthenticator()
public void setAuthenticator(org.alfresco.jlan.ftp.FTPAuthenticator authenticator)
authenticator
- the new authenticatorpublic int getDataPortFrom()
public void setDataPortFrom(int fromPort)
fromPort
- intpublic int getDataPortTo()
public void setDataPortTo(int toPort)
toPort
- intpublic final String getKeyStorePath()
public final String getKeyStoreType()
public final String getTrustStorePath()
public final String getTrustStoreType()
public final String getKeyStorePassphrase()
public final String getTrustStorePassphrase()
public final boolean hasRequireSecureSession()
public final void setRequireSecureSession(boolean reqSec)
reqSec
- booleanpublic final void setKeyStorePath(String path)
path
- Stringpublic final void setKeyStoreType(String typ)
typ
- Stringpublic final void setTrustStorePath(String path)
path
- Stringpublic final void setTrustStoreType(String typ)
typ
- Stringpublic final void setKeyStorePassphrase(String phrase)
phrase
- Stringpublic final void setTrustStorePassphrase(String phrase)
phrase
- Stringpublic final boolean hasSslEngineDebug()
public final void setSslEngineDebug(boolean sslDebug)
sslDebug
- booleanCopyright © 2005–2017 Alfresco Software. All rights reserved.