]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/util/ServerConstants.java
add: detect a quiz-admin directly in gigi
[gigi.git] / src / org / cacert / gigi / util / ServerConstants.java
index 3bf326358e67c7bd304361531f589c4ef0216d31..73bf9d2ec24ca8a108750052f4f56697f12eb025 100644 (file)
@@ -50,7 +50,7 @@ public class ServerConstants {
         return apiHostName;
     }
 
-    public static String getSecureHostNamePort() {
+    public static String getSecureHostNamePortSecure() {
         return secureHostName + securePort;
     }
 
@@ -114,4 +114,12 @@ public class ServerConstants {
         return "board@" + ServerConstants.getWwwHostName().replaceFirst("^www\\.", "");
     }
 
+    public static String getQuizMailAddress() {
+        return "quiz@" + ServerConstants.getWwwHostName().replaceFirst("^www\\.", "");
+    }
+
+    public static String getQuizAdminMailAddress() {
+        return "quiz-admin@" + ServerConstants.getWwwHostName().replaceFirst("^www\\.", "");
+    }
+
 }