Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/rest/AuthInfoService.java @ 366:567ce7697fc7 0.5
Code documentation.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 10 Sep 2013 15:55:54 +0200 |
parents | 1a01e1473dc7 |
children | f3d0894d9bfc |
comparison
equal
deleted
inserted
replaced
365:fab80595ed55 | 366:567ce7697fc7 |
---|---|
12 import javax.ws.rs.core.UriInfo; | 12 import javax.ws.rs.core.UriInfo; |
13 | 13 |
14 import de.intevation.lada.auth.Authentication; | 14 import de.intevation.lada.auth.Authentication; |
15 import de.intevation.lada.auth.AuthenticationException; | 15 import de.intevation.lada.auth.AuthenticationException; |
16 import de.intevation.lada.auth.Authorization; | 16 import de.intevation.lada.auth.Authorization; |
17 import de.intevation.lada.model.LProbe; | |
17 | 18 |
18 /** | 19 /** |
19 * This class produces a RESTful service to get information about | 20 * This class produces a RESTful service to get information about |
20 * access of probe objects. | 21 * access of probe objects. |
21 * | 22 * |
37 private Authorization authorization; | 38 private Authorization authorization; |
38 | 39 |
39 /** | 40 /** |
40 * Request information about access to probe objects | 41 * Request information about access to probe objects |
41 * | 42 * |
42 * @param info The URL query parameters. | 43 * @param id The {@link LProbe} id. |
43 * @param headers The HTTP header containing authorization information. | 44 * @param headers The HTTP header containing authorization information. |
44 * @return Response object. | 45 * @return Response object. |
45 */ | 46 */ |
46 @GET | 47 @GET |
47 @Path("/{id}") | 48 @Path("/{id}") |