AuthorizationControl integration. Use of allowedUsers

This commit is contained in:
Fabio Sinibaldi 2020-02-10 12:41:21 +01:00
parent 74bbd12c81
commit 3bfabe6082
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ public class Mappings {
@GET
@Path(ServiceConstants.Mappings.FARM_METHOD)
@Produces(MediaType.APPLICATION_JSON)
@AuthorizationControl(allowed={ServiceConstants.Mappings.AUTH}, exception=MyAuthException.class)
@AuthorizationControl(allowedUsers={ServiceConstants.Mappings.AUTH}, exception=MyAuthException.class)
public Farm getFarm(@Context UriInfo info){