AuthorizationControl integration. Use of "allowed Users"
This commit is contained in:
parent
b25ba86d53
commit
74bbd12c81
|
@ -58,7 +58,7 @@ public class Mappings {
|
|||
@GET
|
||||
@Path(ServiceConstants.Mappings.BATCHES_METHOD)
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
@AuthorizationControl(allowed={ServiceConstants.Mappings.AUTH}, exception=MyAuthException.class)
|
||||
@AuthorizationControl(allowedUsers={ServiceConstants.Mappings.AUTH}, exception=MyAuthException.class)
|
||||
public Batch getBatch(@QueryParam(ServiceConstants.Mappings.BATCH_NAME_PARAMETER) String name,
|
||||
@QueryParam(ServiceConstants.Mappings.BATCH_TYPE_PARAMETER) String type,
|
||||
@QueryParam(ServiceConstants.Mappings.FARM_ID_PARAMETER) Long farmid) {
|
||||
|
|
Loading…
Reference in New Issue