[
https://issues.apache.org/jira/browse/CXF-4998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13648270#comment-13648270
]
Sergey Beryozkin commented on CXF-4998:
---------------------------------------
FYI JAXRSClientFactory has many utility methods but indeed it does not cover
all the variations. When no support for a specific proxy creation is available
then one can do:
{code:java}
JAXRSClientFactoryBean bean = new JAXRSClientFactoryBean();
bean.setAddress(...);
bean.setServiceClass(Book.class);
bean.setUsername(...);
bean.setPassword(...);
bean.setProviders(...);
Book book = bean.create(Book.class);
{code}
etc. However, perhaps we can add one extra method for this specific combination
> JAXRSClientFactory: Missing factory method for username+password and providers
> ------------------------------------------------------------------------------
>
> Key: CXF-4998
> URL: https://issues.apache.org/jira/browse/CXF-4998
> Project: CXF
> Issue Type: Improvement
> Components: JAX-RS
> Affects Versions: 2.7.3, 2.7.4
> Reporter: Maiko Wessel
>
> JAXRSClientFactory does not allow to create a client for basic authentication
> in combination with providers (e.g. ResponseExceptionMapper)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira