mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-27 12:39:03 +00:00
Previously, the CloudFoundryAuthorizationExceptions thrown for a missing application ID or cloud controller URL were not routed through the error handling that turned them into a SecurityResponse with a 503 status code. As a result, they were processed by the general exception handling which resulted in a 500 response. This commit updates the reactive SecurityInterceptor so that the exceptions are processed through SecurityInterceptor::getErrorResponse. This aligns the behavior of the Cloud Foundry security intergration in a reactive application more closely with that of a Servlet application. Fixes gh-51613