Brian Dilley
03/26/2021, 6:46 AM@Secured and it throws an exception (AuthenticationCredentialsNotFoundException) when expected, but how do i define an “error resolver” that can take that exception and turn it into a more meaningful message (ie: right now it’s An Authentication object was not found in the SecurityContext for that exception, i’d rather say something like Access Denied)Robert
03/26/2021, 10:11 AMDariusz Kuc
03/26/2021, 12:45 PMDataFetcherExceptionHandlerBrian Dilley
03/26/2021, 7:03 PMDataFetcherExceptionHandler might be the ticket, thanks