@PreAuthorize("hasRole('ROLE_ADMIN')") @RequestMapping(method = RequestMethod.GET) public String findAll(ModelMap map) { map.put( "reports", interfaceReportService .findAll() .stream() .map(InterfaceReportListDto::create) .collect(Collectors.toList())); return REPORTS_PAGE; }