camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zied123456 <>
Subject Camel CXF - Security (Authentication)
Date Tue, 22 Dec 2015 09:47:04 GMT

I created a webservice with apache camel using CXF component as bellow :


  <bean class=""/>
  <cxf:rsServer id="rsServer" address="http://localhost:9050/route"
    serviceClass=""     />
  <camelContext xmlns="">
    <route id="timerToLog">
      <from uri="cxfrs://bean://rsServer"/>
      <to uri=""/>
      <log message="${body}"/>

public class Testws {
    public Integer getAssets(@PathParam("id") int id){
        return null;

and I would like to secure it forcing the customer to send ( or enter on a
dialog box if using a browser) login and password (BASIC Http
authentication). How can i make this configuration ?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message