Page History
...
The server can operate on HTTP, HTTPS or SFTP. HTTP and HTTPS support basic authentication. SFTP requires user authentication to connect.
Code Block |
---|
<servlet> <servlet-name>LicenceAutoProvision</servlet-name> <servlet-class>com.hof.servlet.LicenceAutoProvision</servlet-class> <init-param> <param-name>Enabled</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>TaskPeriodInterval</param-name> <param-value>360</param-value> </init-param> <init-param> <param-name>Protocol</param-name> <param-value>http</param-value> <!-- <param-value>https</param-value>--> <!-- <param-value>sftp</param-value>--> </init-param> <init-param> <param-name>Hostname</param-name> <param-value>localhost</param-value> </init-param> <init-param> <param-name>Port</param-name> <param-value>8100</param-value> </init-param> <init-param> <param-name>PathToLicenceFile</param-name> <param-value>/static/licence.lic</param-value> </init-param> <init-param> <param-name>Username</param-name> <param-value>demo</param-value> </init-param> <init-param> <param-name>Password</param-name> <param-value>demo</param-value> </init-param> <load-on-startup><!-- can use 9 or greater, as long as its one of the last servlet initialized --></load-on-startup> </servlet> |