Merge 3.2 to HEAD:

18450: Port of FTP data port configuration values. ETHREEOH-4103.
   18559: NFS fixes, NFS/FTP/CIFS config properties. ETHREEOH-4102, ETHREEOH-4101, ETHREEOH-4104 (partial)
   18642: Do not allow null NFS authentication type, core NFS/mount server code now allows null requests with null authentication type.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18654 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gary Spencer
2010-02-16 14:04:34 +00:00
parent 63d2319b42
commit 69568f130e
8 changed files with 251 additions and 32 deletions

View File

@@ -65,6 +65,11 @@ public class FTPConfigBean
/** Is IP v6 enabled? */
private boolean ipv6Enabled;
// Data port range
private int dataPortFrom;
private int dataPortTo;
/**
* Checks if is server enabled.
*
@@ -274,4 +279,40 @@ public class FTPConfigBean
{
this.ipv6Enabled = ipv6Enabled;
}
/**
* Return the data port range from port
*
* @return int
*/
public int getDataPortFrom() {
return dataPortFrom;
}
/**
* Set the data port range from port
*
* @param fromPort int
*/
public void setDataPortFrom(int fromPort) {
dataPortFrom = fromPort;
}
/**
* Return the data port to range port
*
* @return int
*/
public int getDataPortTo() {
return dataPortTo;
}
/**
* Set the data port range to port
*
* @param toPort int
*/
public void setDataPortTo(int toPort) {
dataPortTo = toPort;
}
}