[
https://issues.apache.org/jira/browse/CAMEL-4869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13187721#comment-13187721
]
David J. M. Karlsen commented on CAMEL-4869:
--------------------------------------------
Having a bean available in AHC itself would be the best, yes.
No time for patch at the moment - sorry.
> Provide easier realm configuration possibility
> ----------------------------------------------
>
> Key: CAMEL-4869
> URL: https://issues.apache.org/jira/browse/CAMEL-4869
> Project: Camel
> Issue Type: Improvement
> Components: camel-ahc
> Affects Versions: 2.9.0
> Environment: N/A
> Reporter: David J. M. Karlsen
> Labels: ahc, configuration, realm
> Fix For: 2.10.0
>
>
> It would be nice if the authentication realm object could be configured in
> the same easy way as the rest of the clientConfig.
> Something like:
> {noformat}
> clientConfig.realm.type=Digest&clientConfig.realm.user=someUser&clientConfig.realm.password=somePass&clientConfig.realm.preemtive=true
> {noformat}
> etc
> Today there is really no option other than using the AHC RealmBuilder
> directly (which is more cumbersome as the actual values are externalized -
> and thus plumbing is needed to read these, build a realm, and set it on the
> component.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira