The GitHub Actions job "JMH Benchmark Comparison" on 
grails-core.git/fix/16632-unauthenticated-request has failed.
Run started by GitHub user ruthst00 (triggered by ruthst00).

Head commit for run:
b1012aaca5bcae7c046f3305eb3ce9b7e40ef8f2 / ruthes00 <[email protected]>
Implemented the fix for #16632.

### Cause and fix
The compatibility `FilterSecurityInterceptor` passed null authentication to 
authorization voters, causing an `AssertionError` instead of a handled 
authentication failure.

It now throws `AuthenticationCredentialsNotFoundException` before invoking the 
decision manager. This lets the configured exception-translation filter return 
401 for API entry points, while preserving login redirects and public-request 
behavior.

### Coverage
- Reproduced the reported failure before applying the fix.
- Added tests for missing authentication, HTTP 401/200/403 responses, public 
requests, access denial, and committed responses.
- Updated filter-chain documentation.

Report URL: https://github.com/apache/grails-core/actions/runs/38757970544

With regards,
GitHub Actions via GitBox

Reply via email to