1 Reply Latest reply on Jan 27, 2013 3:12 AM by Eva VL

    Restlet with basic auth example

    Eva VL Newbie

      I have been looking at restlet component and I need to setup basic auth. Documentation states it can be done by setting up restletRealm. I cannot find a complete Spring DSL example of this, only fragments:

       

      ...

      from("restlet:http://localhost:9080/securedOrders?restletMethod=post&restletRealm=#realm").process(new Processor() {

      ...

       

       

       

       

      I would like to see an example file camel-context.xml with the complete setup to make this work.

       

      Thanks.