Mercurial > hg > AnnotationManagerN4J
comparison src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotationStoreRestlet.java @ 22:b1fb0d117877
adding and listing groups via html works now.
no editing of group membership yet.
no authentication yet.
author | casties |
---|---|
date | Thu, 20 Sep 2012 17:42:26 +0200 |
parents | aafa3884b2c4 |
children |
comparison
equal
deleted
inserted
replaced
21:1ac626309352 | 22:b1fb0d117877 |
---|---|
33 // this.authenticator = createAuthenticator(); | 33 // this.authenticator = createAuthenticator(); |
34 | 34 |
35 Router router = new Router(getContext()); | 35 Router router = new Router(getContext()); |
36 | 36 |
37 router.attach("/groups", AnnotationStoreGroups.class); | 37 router.attach("/groups", AnnotationStoreGroups.class); |
38 router.attach("/groups/", AnnotationStoreGroups.class); | |
38 router.attach("/groups/{id}", AnnotationStoreGroups.class); | 39 router.attach("/groups/{id}", AnnotationStoreGroups.class); |
39 | 40 |
40 router.attach("/", AnnotationStoreInfo.class); | 41 router.attach("/", AnnotationStoreInfo.class); |
41 // authenticator.setNext(router); | 42 // authenticator.setNext(router); |
42 // return authenticator; | 43 // return authenticator; |