Github user afs commented on the issue:

    https://github.com/apache/jena/pull/151
  
    I came across "preemptive authentication" for HttpClient which apparently 
does not a preconfigured `HttpClient`.
    
    [HttpComponents 4.5.x tutorial section, 
4.6](https://hc.apache.org/httpcomponents-client-4.5.x/tutorial/html/authentication.html#d5e717)
    
    It works pre-populating the authentication data cache and calling:
    
    ```
    CloseableHttpResponse response = httpclient.execute(target, http-request, 
HttpClientContext);
    ```
    It's not quite the style of 
`org.apache.jena.atlas.web.auth.HttpAuthenticator` but it's close.
    
    Would this be better than `HttpClientBuilder`+`HttpAuthenticator`?  Mu 
first impression is that it is much the same - just different.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to