You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by contactreji <co...@gmail.com> on 2013/09/06 07:38:26 UTC

Securing Inbound WebService Endpoint

Can I secure my inbound cxf:enpoint with

*<conduit name="{http://example.com/}HelloWorldServicePort.http-conduit"
   xmlns:sec="http://cxf.apache.org/configuration/security"
   xmlns="http://cxf.apache.org/transports/http/configuration">
   <authorization>
      <sec:UserName>myuser</sec:UserName>
      <sec:Password>mypasswd</sec:Password>
      <sec:AuthorizationType>Basic</sec:AuthorizationType>
   </authorization>
 </conduit>*

My Endpoint looks like 
*
<cxf:cxfEndpoint id="MESEndpoint"
		address="http://server:8181/mes/bw/MyFuseEndpointAddress"
		serviceClass="company.pi.mes.id56.interface.PortDetails"
		wsdlURL="wsdl/myWsdl.wsdl"
		serviceName="p1:SI_ID56_MyFuseEndpointServiceAddress"
endpointName="p1:HTTPS_Port"
		xmlns:p1="urn:company:pi:mes:id56:WSDLNamespace"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />*

Could  you please help me with this simple basic authentication. 

I am really in need of the same.. and its quite urgent :-(



--
View this message in context: http://camel.465427.n5.nabble.com/Securing-Inbound-WebService-Endpoint-tp5738816.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Securing Inbound WebService Endpoint

Posted by Christian Müller <ch...@gmail.com>.
No. Your code snippets are for configuring the client part as documented
here [1].
We already provide the server configuration in one of the many other
threads you started.

[1]
http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html

Best,
Christian
-----------------

Software Integration Specialist

Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://www.apache.org/foundation/members.html

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Fri, Sep 6, 2013 at 7:38 AM, contactreji <co...@gmail.com> wrote:

> Can I secure my inbound cxf:enpoint with
>
> *<conduit name="{http://example.com/}HelloWorldServicePort.http-conduit"
>    xmlns:sec="http://cxf.apache.org/configuration/security"
>    xmlns="http://cxf.apache.org/transports/http/configuration">
>    <authorization>
>       <sec:UserName>myuser</sec:UserName>
>       <sec:Password>mypasswd</sec:Password>
>       <sec:AuthorizationType>Basic</sec:AuthorizationType>
>    </authorization>
>  </conduit>*
>
> My Endpoint looks like
> *
> <cxf:cxfEndpoint id="MESEndpoint"
>                 address="http://server:8181/mes/bw/MyFuseEndpointAddress"
>                 serviceClass="company.pi.mes.id56.interface.PortDetails"
>                 wsdlURL="wsdl/myWsdl.wsdl"
>                 serviceName="p1:SI_ID56_MyFuseEndpointServiceAddress"
> endpointName="p1:HTTPS_Port"
>                 xmlns:p1="urn:company:pi:mes:id56:WSDLNamespace"
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />*
>
> Could  you please help me with this simple basic authentication.
>
> I am really in need of the same.. and its quite urgent :-(
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Securing-Inbound-WebService-Endpoint-tp5738816.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>