[
https://issues.apache.org/jira/browse/CAMEL-4869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13187668#comment-13187668
]
Claus Ibsen commented on CAMEL-4869:
------------------------------------
Patches is of course welcome.
And in the past we got in touch with AHC to have it improved to allow us to
configured it more easily from Camel side, using bean style configuration.
Maybe we need that for the RealmBuilder as well.
> 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