iamsanjay commented on PR #3208:
URL: https://github.com/apache/solr/pull/3208#issuecomment-2677628347

   <img width="900" alt="Screenshot 2025-02-24 at 12 58 11 PM" 
src="https://github.com/user-attachments/assets/2c5da665-2087-464d-b7b4-ae95ede9ce56";
 />
   
   It's not about the lazy loading. `SolrClientProvider` object is being used 
inside the `ZkController#getSolrCloudManager()` but at that time auth listener 
is not available. 
   
   zkSys.initZooKeeper(this, cfg.getCloudConfig()); is what triggers somewhere 
`ZkController#getSolrCloudManager()` 
   
   But as you can see in the IF block we initialize the 
`pkiAuthenticationSecurityBuilder` after that.
   
   
https://github.com/apache/solr/blob/76c09a35dba42913a6bcb281b52b00f87564624a/solr/core/src/java/org/apache/solr/core/CoreContainer.java#L868-L880
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to