AuthorizationControl integration. Use of allowedUsers
This commit is contained in:
parent
74bbd12c81
commit
3bfabe6082
|
@ -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){
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue