You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/08/19 05:06:00 UTC

[jira] [Commented] (CAMEL-16868) Test for basicAuth() REST DSL method

    [ https://issues.apache.org/jira/browse/CAMEL-16868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17401477#comment-17401477 ] 

Claus Ibsen commented on CAMEL-16868:
-------------------------------------

the rest-dsl is "just" a facade, so if you specify that basic auth as securtity in the rest-dsl, then Camel only uses this when generating the open api / swagger spec file.

Its the underlying http platform that must be configure to basic auth, eg if you run on jee server, spring boot, quarkus or something else.

> Test for basicAuth() REST DSL method
> ------------------------------------
>
>                 Key: CAMEL-16868
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16868
>             Project: Camel
>          Issue Type: Test
>            Reporter: Gazda
>            Priority: Major
>
> I am going through the DSL methods listed in EIP catalog and I am adding Camel Quarkus tests where necessary to make sure that the methods work also in native mode. I often search for inspiration in Camel tests. However for basicAuth() I neither was able to figure out how to use it nor there is a test in Camel code base. Would it please be possible to add one?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)