+ public enum Host {
+ /**
+ * Serves the main application. Both via HTTP and HTTPS.
+ */
+ WWW("www"),
+ /**
+ * Serves static resource like css, js, for modal dialogs on
+ * delete-operations and similar things.
+ */
+ STATIC("static"),
+ /**
+ * Serves the same content as {@link #WWW}, but requires
+ * authentification via client certificate.
+ */
+ SECURE("secure"),
+ /**
+ * Serves the API for issuing certificates, receiving Quiz results.
+ */
+ API("api"),
+ /**
+ * Hosts a link-redirector (not served by Gigi) for external links from
+ * Gigi.
+ */
+ LINK("link"),
+ /**
+ * Hosts the certificate repository for the certificates generated
+ * during NRE. Also not served by Gigi.
+ */
+ CRT_REPO("g2.crt"),
+ /**
+ * Hosts the {@link OCSPResponder}.
+ */
+ OCSP_RESPONDER("g2.ocsp");
+
+ private final String value;
+
+ private Host(String value) {
+ this.value = value;
+ }