youngkermit8-coder opened a new pull request, #1786:
URL: https://github.com/apache/rocketmq-dashboard/pull/1786

   ## Summary
   
   - avoid registering `AuthInterceptor` in MVC slices and minimal contexts 
that do not provide `AuthService`
   - keep interceptor registration unchanged when authentication infrastructure 
is available
   - add a focused regression test for the missing-service path
   
   This fixes #1778.
   
   ## Verification
   
   ```text
   mvn 
-Dtest=AuthWebConfigTest,AuthCorsIntegrationTest,ConsumerGroupControllerTest,TopicControllerTest
 test
   Tests run: 31, Failures: 0, Errors: 0, Skipped: 0
   Checkstyle violations: 0
   ```
   
   Before this change, the two controller suites reproduce 27/27 failures with 
HTTP 500 responses caused by a null `AuthService`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to