Example #1
0
 @RequestMapping(MappingConstants.USER_ROLE_LIST_JSON)
 @PreAuthorize("hasRole('" + PermissionConstants.ADMIN_USER_ROLE_LIST + "')")
 public @ResponseBody List<Role> findUserRoles(@PathVariable long id) {
   return userService.findRoles(id);
 }