Commit 9e191f18 authored by Matija Obreza's avatar Matija Obreza
Browse files

Javadocs

parent 3c9b9077
......@@ -74,22 +74,34 @@ public class RepositoryFtpServer implements InitializingBean, DisposableBean {
private FileSystemFactory repositoryFileSystemFactory;
/**
* Set the path to Java keystore
*
* <pre>
* keytool -genkey -alias testdomain -keyalg RSA -keystore ftpserver.jks -keysize 4096
* </pre>
* Set external address of the FTP server that will be returned to clients on the PASV command.
*
* @param keystorePath
* @see DataConnectionConfigurationFactory#setPassiveExternalAddress(String)
* @param externalAddress
*/
public void setExternalAddress(final String externalAddress) {
this.externalAddress = externalAddress;
}
/**
* Set the passive ports to be used for data connections.
*
* @see DataConnectionConfigurationFactory#setPassivePorts(String)
* @param passivePorts
*/
public void setPassivePorts(final String passivePorts) {
this.passivePorts = passivePorts;
}
/**
* Set the path to Java keystore
*
* <pre>
* keytool -genkey -alias testdomain -keyalg RSA -keystore ftpserver.jks -keysize 4096
* </pre>
*
* @param keystorePath
*/
public void setKeystorePath(final String keystorePath) {
this.keystorePath = keystorePath;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment