org.alfresco.filesys.config
Class FTPConfigBean

java.lang.Object
  extended by org.alfresco.filesys.config.FTPConfigBean

public class FTPConfigBean
extends java.lang.Object

The Class FTPConfigBean.


Constructor Summary
FTPConfigBean()
           
 
Method Summary
 boolean getAllowAnonymous()
          Checks if is allow anonymous.
 java.lang.String getAnonymousAccount()
          Gets the anonymous account.
 org.alfresco.jlan.ftp.FTPAuthenticator getAuthenticator()
          Gets the authenticator.
 java.lang.String getBindTo()
          Gets the bind to.
 java.lang.String getCharSet()
          Gets the char set.
 int getDataPortFrom()
          Return the data port range from port
 int getDataPortTo()
          Return the data port to range port
 java.lang.String getDebugFlags()
          Gets the debug flags.
 java.lang.String getKeyStorePath()
          Return the key store path
 java.lang.String getPassphrase()
          Return the passphrase for the key store/trust store
 java.lang.Integer getPort()
          Gets the port.
 java.lang.String getRootDirectory()
          Gets the root directory.
 boolean getServerEnabled()
          Checks if is server enabled.
 java.lang.String getTrustStorePath()
          Return the trust store path
 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(java.lang.String anonymousAccount)
          Sets the anonymous account.
 void setAuthenticator(org.alfresco.jlan.ftp.FTPAuthenticator authenticator)
          Sets the authenticator.
 void setBindTo(java.lang.String bindTo)
          Sets the bind to.
 void setCharSet(java.lang.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(java.lang.String debugFlags)
          Sets the debug flags.
 void setKeyStorePath(java.lang.String path)
          Set the key store path
 void setPassphrase(java.lang.String phrase)
          Set the passphrase
 void setPort(java.lang.Integer port)
          Sets the port.
 void setRequireSecureSession(boolean reqSec)
          Set/clear the require secure sessions flag
 void setRootDirectory(java.lang.String rootDirectory)
          Sets the root directory.
 void setServerEnabled(boolean serverEnabled)
          Sets the server enabled.
 void setSslEngineDebug(boolean sslDebug)
          Enable SSLEngine class debug output
 void setTrustStorePath(java.lang.String path)
          Set the trust store path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FTPConfigBean

public FTPConfigBean()
Method Detail

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

public java.lang.String getBindTo()
Gets the bind to.

Returns:
the bind to

setBindTo

public void setBindTo(java.lang.String bindTo)
Sets the bind to.

Parameters:
bindTo - the new bind to

getPort

public java.lang.Integer getPort()
Gets the port.

Returns:
the port

setPort

public void setPort(java.lang.Integer port)
Sets the port.

Parameters:
port - the new port

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

public java.lang.String getAnonymousAccount()
Gets the anonymous account.

Returns:
the anonymous account

setAnonymousAccount

public void setAnonymousAccount(java.lang.String anonymousAccount)
Sets the anonymous account.

Parameters:
anonymousAccount - the new anonymous account

getRootDirectory

public java.lang.String getRootDirectory()
Gets the root directory.

Returns:
the root directory

setRootDirectory

public void setRootDirectory(java.lang.String rootDirectory)
Sets the root directory.

Parameters:
rootDirectory - the new root directory

getDebugFlags

public java.lang.String getDebugFlags()
Gets the debug flags.

Returns:
the debug flags

setDebugFlags

public void setDebugFlags(java.lang.String debugFlags)
Sets the debug flags.

Parameters:
debugFlags - the new debug flags

getCharSet

public java.lang.String getCharSet()
Gets the char set.

Returns:
the char set

setCharSet

public void setCharSet(java.lang.String charSet)
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

getKeyStorePath

public final java.lang.String getKeyStorePath()
Return the key store path

Returns:
String

getTrustStorePath

public final java.lang.String getTrustStorePath()
Return the trust store path

Returns:
String

getPassphrase

public final java.lang.String getPassphrase()
Return the passphrase for the key store/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

public final void setKeyStorePath(java.lang.String path)
Set the key store path

Parameters:
path - String

setTrustStorePath

public final void setTrustStorePath(java.lang.String path)
Set the trust store path

Parameters:
path - String

setPassphrase

public final void setPassphrase(java.lang.String phrase)
Set the 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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.