mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Synchronize default file server configuration (file-servers-context.xml) with changes made to file-servers.xml in revision 13943
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14033 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -62,6 +62,9 @@ public class FTPConfigBean
|
||||
/** The authenticator. */
|
||||
private FTPAuthenticator authenticator;
|
||||
|
||||
/** Is IP v6 enabled? */
|
||||
private boolean ipv6Enabled;
|
||||
|
||||
/**
|
||||
* Checks if is server enabled.
|
||||
*
|
||||
@@ -250,4 +253,25 @@ public class FTPConfigBean
|
||||
{
|
||||
this.authenticator = authenticator;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if IP v6 is enabled.
|
||||
*
|
||||
* @return <code>true</code> if IP v6 is enabled
|
||||
*/
|
||||
public boolean getIpv6Enabled()
|
||||
{
|
||||
return ipv6Enabled;
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates whether IP v6 should be enabled.
|
||||
*
|
||||
* @param ipv6Enabled
|
||||
* <code>true</code> if IP v6 should be enabled
|
||||
*/
|
||||
public void setIpv6Enabled(boolean ipv6Enabled)
|
||||
{
|
||||
this.ipv6Enabled = ipv6Enabled;
|
||||
}
|
||||
}
|
||||
|
@@ -1262,6 +1262,10 @@ public class ServerConfigurationBean extends AbstractServerConfigurationBean
|
||||
ftpConfig.setFTPDebug(ftpDbg);
|
||||
}
|
||||
|
||||
// Check if IPv6 support should be enabled
|
||||
|
||||
ftpConfig.setIPv6Enabled(ftpConfigBean.getIpv6Enabled());
|
||||
|
||||
// Check if a character set has been specified
|
||||
|
||||
String charSet = ftpConfigBean.getCharSet();
|
||||
|
Reference in New Issue
Block a user