Added RPCRegisterPort configuration value, and nfs.rpcRegisterPort property.

Defaults to zero to use next free unprivileged port when registering the NFS/mount servers with the portmapper.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19376 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gary Spencer
2010-03-18 16:31:57 +00:00
parent 53e31c826b
commit b9ae66b146
5 changed files with 55 additions and 0 deletions

View File

@@ -62,6 +62,9 @@ public class NFSConfigBean
/** The rpc authenticator. */
private RpcAuthenticator rpcAuthenticator;
/** RPC register port */
private Integer rpcRegisterPort;
/**
* Checks if is server enabled.
*
@@ -293,4 +296,23 @@ public class NFSConfigBean
this.rpcAuthenticator = rpcAuthenticator;
}
/**
* Set the RPC registration port
*
* @param rpcRegPort Integer
*/
public void setRpcRegisterPort(Integer rpcRegPort)
{
this.rpcRegisterPort = rpcRegPort;
}
/**
* Return the RPC register port
*
* @return Integer
*/
public Integer getRpcRegisterPort()
{
return rpcRegisterPort;
}
}