source: main/trunk/greenstone3/src/java/org/greenstone/server/Server3Property.java@ 32429

Last change on this file since 32429 was 32429, checked in by ak19, 6 years ago

solr should only be accessible locally (from localhost, specifically 127.0.0.1) which means over http. This conflicted with the previous design of the properties file for working with http and/or https. Now we have tomcat.port.https and localhost.port.http, both always set. In place of server.protocol that used to contain the default protocol, we now have server.protocols which can be set to a comma separated list of one or both of http and https. Drastic restructuring followed. I think I've tested all but https certification stuff.

File size: 810 bytes
Line 
1package org.greenstone.server;
2
3import org.greenstone.server.BaseProperty;
4
5public class Server3Property extends BaseProperty
6{
7 Server3Property()
8 {
9 // Initialising customised final variables
10 // Version number, WEB_PORT, autoenter, startbrowser
11 // For GS3, the last two are controlled by the same property
12 super("3", "tomcat.port", "server.auto.start", "server.auto.start",
13 "server.keep.port", "server.external.access");
14 }
15
16 Server3Property(String defaultPortPropertyName)
17 {
18 // Initialising customised final variables
19 // Version number, WEB_PORT, autoenter, startbrowser
20 // For GS3, the last two are controlled by the same property
21 super("3", defaultPortPropertyName, "server.auto.start", "server.auto.start",
22 "server.keep.port", "server.external.access");
23 }
24}
Note: See TracBrowser for help on using the repository browser.