Skip to content

How to secure rest endpoint built in the integration? #1328

Answered by davsclaus
dpalinic asked this question in Q&A
Discussion options

You must be logged in to vote

Just to clarify the "security" stuff in the image above is ONLY for defining the OpenAPI contract for the Rest DSL you design. Camel Rest DSL has the capability to generate a swagger doc (openapi spec) from Camel (code first).

Any kind of actual security is configured in the embedded HTTP server you use (spring boot http server, quarkus http server etc). How to do that, you look at their docs.

There is a Camel SB ssl example at
https://github.com/apache/camel-spring-boot-examples/tree/main/http-ssl

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dpalinic
Comment options

Answer selected by davsclaus
Comment options

You must be logged in to vote
1 reply
@dpalinic
Comment options

Comment options

You must be logged in to vote
4 replies
@davsclaus
Comment options

@dpalinic
Comment options

@davsclaus
Comment options

@dpalinic
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants