Mercurial > hg > AnnotationManagerN4J
diff src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorAnnotationsByResources.java @ 88:b406507a953d
upped version to 0.5.
can use display name and groups from auth token.
author | casties |
---|---|
date | Tue, 03 Feb 2015 19:01:27 +0100 |
parents | 25eb2e1df106 |
children | cf44d9e1a4a7 |
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorAnnotationsByResources.java Tue Feb 03 11:33:45 2015 +0100 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorAnnotationsByResources.java Tue Feb 03 19:01:27 2015 +0100 @@ -59,7 +59,7 @@ setCorsHeaders(); // do authentication - Person authUser = Person.createPersonWithId(this.checkAuthToken(entity)); + Person authUser = getUserFromAuthToken(entity); logger.fine("request authenticated=" + authUser); String id = null;