private static String securePort, port;
+ private static String suffix = "cacert.local";
+
public static void init(Properties conf) {
securePort = port = "";
if ( !conf.getProperty("https.port").equals("443")) {
secureHostName = conf.getProperty("name.secure");
staticHostName = conf.getProperty("name.static");
apiHostName = conf.getProperty("name.api");
+ suffix = conf.getProperty("name.suffix", conf.getProperty("name.www").substring(4));
}
return Integer.parseInt(port.substring(1, port.length()));
}
+ public static String getSuffix() {
+ return suffix;
+ }
+
}