You can do it by implement your custom security policy[1].
Please take a look at the camel-sprint-security[2], you can find some code
example such as SpringSecurityAuthorizationPolicy.java[3]
[1]http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/spi/Policy.html
Hi everyone,
In our web application, we are using camel as the central piece to
orchestrate/route the webservices, which will be connecting to several
other local resources.
Can some one suggest, what is the best way to write context level (global /
one-time) layers.
For example, we want to