RestControllerAdvice eats security exceptions turning them into HTTP 500

Description

The RestAdvice "catch all" handling of exceptions hides the security exceptions from the Spring Security filters, making security exception return a HTTP 500 instead of the desired code.

Environment

None

Status

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Fix versions

Affects versions

None

Components

Priority

Medium
Configure