Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[19:09:27 CDT(-0500)] <js70> we don' have a 403 jsp page, I'm pretty sure its bringing back the 500. not a big deal but we need to create the 403 as well.

[19:10:56 CDT(-0500)] <dmccallum54> think it might not be using any of the jsp pages

[19:11:06 CDT(-0500)] <dmccallum54> @PreAuthorize(Permission.PERMIT_ALL)

[19:11:06 CDT(-0500)] <dmccallum54> @ExceptionHandler(AccessDeniedException.class)

[19:11:06 CDT(-0500)] <dmccallum54> @ResponseStatus(HttpStatus.FORBIDDEN)

[19:11:06 CDT(-0500)] <dmccallum54> public @ResponseBody

[19:11:06 CDT(-0500)] <dmccallum54> ServiceResponse handleAccessDenied(final AccessDeniedException e) {

[19:11:06 CDT(-0500)] <dmccallum54> getLogger().error(ERROR_PREFIX, e);

[19:11:06 CDT(-0500)] <dmccallum54> return new ServiceResponse(false, e.getMessage());

[19:11:07 CDT(-0500)] <dmccallum54> }

[19:11:34 CDT(-0500)] <js70> k