nodece opened a new pull request, #24878:
URL: https://github.com/apache/pulsar/pull/24878

   ### Motivation
   
   The current authentication flow in broker is tightly coupled with the 
`ServerCnx` class, making it harder to extend authentication logic (e.g., for 
proxy authentication, role forwarding). This PR refactors the authentication 
handling into dedicated classes to make the flow more modular, extensible, and 
easier to maintain.
   
   ### Modifications
   
   - Decouple authentication from server connection handling for cleaner 
separation of concerns
   - Enable reuse of authentication logic for proxy authentication
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc` <!-- Your PR contains doc changes. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update 
later -->
   - [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->


-- 
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