New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve native support for org.apache.http.impl.client.BasicAuthCache
#3079
Comments
org.apache.http.impl.client.BasicAuthCache
.org.apache.http.impl.client.BasicAuthCache
In couchdb, we ended up doing a substitution: Whatever the fix is, it's worth considering to align accross camel-quarkus. |
There is also a comment in httpclient jira stating that serialization is not a hard requirement for BasicAuthCache. |
Then that fix probably belongs in |
Indeed, and maybe it's just a matter of configuring the serialization of AuthSchemes now that camel-quarkus supports serialization. |
I wonder why this has not been popping up in our HttpTest.basicAuth() test? |
I was thinking maybe it's used only for preemptive auth but was not able to prove it with a test. |
Because we don't explicity configure the |
BasicAuthCache
attempts to do object serialization, so we need to handle that.https://github.com/apache/httpcomponents-client/blob/rel/v4.5.13/httpclient/src/main/java/org/apache/http/impl/client/BasicAuthCache.java#L97-L146
Usage of the class is mentioned in the camel-http docs, so we should try to get it working properly in native mode.
The text was updated successfully, but these errors were encountered: