mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added FTP IPv6 configuration, via the <IPv6 state="enabled|disabled"/> tag. Added the ftp.ipv6 property. MOB-714.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13943 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1415,6 +1415,17 @@ public class ServerConfigurationBean extends AbstractServerConfigurationBean {
|
||||
ftpConfig.setFTPDebug(ftpDbg);
|
||||
}
|
||||
|
||||
// Check if IPv6 support should be enabled
|
||||
|
||||
elem = config.getConfigElement("IPv6");
|
||||
if ( elem != null) {
|
||||
|
||||
// Enable IPv6 support
|
||||
|
||||
if ( elem.hasAttribute("state") && elem.getAttribute("state").equalsIgnoreCase("enabled"))
|
||||
ftpConfig.setIPv6Enabled( true);
|
||||
}
|
||||
|
||||
// Check if a character set has been specified
|
||||
|
||||
elem = config.getConfigElement( "charSet");
|
||||
|
Reference in New Issue
Block a user