@RequestMapping(value = "/new-rvLab-page", method = RequestMethod.GET) public String newRvLab(HttpServletRequest request) { Boolean hasPermissionOnMethod = roleService.isRouteAuthorized( authenticationFacade.getLoggedIn().getId(), request.getRequestURI()); return hasPermissionOnMethod ? (BASE_PATH + "add-edit-for-Lab") : "403"; }
// view providers @RequestMapping(method = RequestMethod.GET) public ModelAndView index(HttpServletRequest request) { return ControllerHelper.getModelAndView( MAIN, roleService, authenticationFacade.getLoggedIn().getId(), request.getRequestURI()); }