Revision 61371
Added by Konstantinos Spyrou almost 3 years ago
SushiliteController.java | ||
---|---|---|
19 | 19 |
|
20 | 20 |
@RequestMapping(value = "/getReportResults/{page}/{pageSize}", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE) |
21 | 21 |
@ResponseBody |
22 |
@PreAuthorize("hasRole('ROLE_USER')")
|
|
22 |
@PreAuthorize("hasAuthority('REGISTERED_USER')")
|
|
23 | 23 |
public ReportResponseWrapper getReportResults(@PathVariable("page") String page, |
24 | 24 |
@PathVariable("pageSize") String pageSize, |
25 | 25 |
@RequestParam(value = "Report") String Report, |
Also available in: Unified diff
1. changed user roles defined in the project to authorities given by the aai.
2. created method returning user roles with desired status (active, deleted).