Mercurial > hg > AnnotationManagerN4J
comparison src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/AnnotationsUiRestlet.java @ 97:434264e1839a
fixed http login realm name.
author | casties |
---|---|
date | Wed, 11 Feb 2015 18:14:00 +0100 |
parents | fcb6fe10e08c |
children |
comparison
equal
deleted
inserted
replaced
96:8fefa4651d00 | 97:434264e1839a |
---|---|
90 verifier.getLocalSecrets().put(user, pw.toCharArray()); | 90 verifier.getLocalSecrets().put(user, pw.toCharArray()); |
91 } else { | 91 } else { |
92 logger.severe("Admin user and password missing in serverconfig!"); | 92 logger.severe("Admin user and password missing in serverconfig!"); |
93 } | 93 } |
94 // Create a Guard | 94 // Create a Guard |
95 ChallengeAuthenticator guard = new ChallengeAuthenticator(getContext(), ChallengeScheme.HTTP_BASIC, "Tutorial"); | 95 ChallengeAuthenticator guard = new ChallengeAuthenticator(getContext(), ChallengeScheme.HTTP_BASIC, "Annotation Server Admin"); |
96 guard.setVerifier(verifier); | 96 guard.setVerifier(verifier); |
97 // put everything through guard | 97 // put everything through guard |
98 guard.setNext(root); | 98 guard.setNext(root); |
99 root = guard; | 99 root = guard; |
100 | 100 |