diff src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/AnnotationsUiRestlet.java @ 93:3d1a00418b42 admin_ui_rel_links

starting web admin ui with relative links. doesn't fully work yet.
author casties
date Mon, 09 Feb 2015 12:55:51 +0100
parents 25eb2e1df106
children
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/AnnotationsUiRestlet.java	Mon Feb 09 12:50:47 2015 +0100
+++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/AnnotationsUiRestlet.java	Mon Feb 09 12:55:51 2015 +0100
@@ -1,6 +1,3 @@
-/**
- * 
- */
 package de.mpiwg.itgroup.annotations.restlet.annotations_ui;
 
 /*
@@ -41,7 +38,7 @@
  */
 public class AnnotationsUiRestlet extends BaseRestlet {
 
-    public final String version = "AnnotationManagerN4J/AnnotationsUI 0.3";
+    public final String version = "AnnotationManagerN4J/AnnotationsUI 0.4";
 
     public static Logger logger = Logger.getLogger("de.mpiwg.itgroup.annotations.restlet.annotations_ui.AnnotationsUiRestlet");
 
@@ -83,7 +80,7 @@
             logger.severe("Admin user and password missing in serverconfig!");
         }
         // Create a Guard
-        ChallengeAuthenticator guard = new ChallengeAuthenticator(getContext(), ChallengeScheme.HTTP_BASIC, "Tutorial");
+        ChallengeAuthenticator guard = new ChallengeAuthenticator(getContext(), ChallengeScheme.HTTP_BASIC, "Annotation Server");
         guard.setVerifier(verifier);
         // put everything through guard
         guard.setNext(router);