nodece commented on PR #16650:
URL: https://github.com/apache/pulsar/pull/16650#issuecomment-1188853663

   > > You can use `mvn clean install -Pcore-modules,-main -DskipTests 
-Dspotbugs.skip` command to build this project.
   > 
   > Thanks @nodece, I was able to pass the compilation problem on 
'pulsar-common' but now I have others in 'managed-ledget', I think is something 
regarding lombok maybe since it says it cannot find some 'get' symbols. I'll 
try to figure out if I can later.
   
   Build Pulsar requires JDK 17.
   
   > Anyways, I was trying to build it to test something I had in mind but 
maybe you could know it firsthand. The thing is, I'm not sure if 
`AuthenticationProviderToken#newHttpAuthState` is called for every HTTP request 
(correct me if I'm wrong) but, if it is, then I think one could manage to 
authenticate to other requests rather than the WebSocket one by using the 
`token` request query param (also not sure if this is intended). E.g.
   > 
   > ```shell
   > curl 
"http://localhost:8080/admin/v2/brokers/configuration?token=ASDFGH....";
   > ```
   
   Good idea, I verified that it worked.
   


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