{http://example.com/}HelloWorldServicePort.http-conduit ==
{<namespace>}<port name>.http-conduit

The configuration you posted is, I assume, borrowed from [1] and shows the
client side configuration. But you are asking for the server side
configuration...

I will post my solution tomorrow in the other thread you are asking for
help [2].

[1]
http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html#ClientHTTPTransport%28includingSSLsupport%29-BasicAuthentication
[2]
camel.465427.n5.nabble.com/camel-cxf-and-HTTP-BASIC-authentication-td5716163.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 Wed, Aug 28, 2013 at 9:44 AM, contactreji <contactr...@gmail.com> wrote:

> Hi Guys
>
> Can you please guide me in securing a simple CXF endpoint using
> *
> <conduit
> name=&quot;{http://example.com/}HelloWorldServicePort.http-conduit&quot;
>                 xmlns:sec=&quot;
> http://cxf.apache.org/configuration/security&quot;
>                 xmlns=&quot;
> http://cxf.apache.org/transports/http/configuration&quot;>
>
>                 <authorization>
>
>                         <sec:UserName>myuser</sec:UserName>
>
>                         <sec:Password>mypasswd</sec:Password>
>
>
> <sec:AuthorizationType>Basic</sec:AuthorizationType>
>
>                 </authorization>
>         </conduit>*
>
> Am not sure what to enter in place of
> {http://example.com/}HelloWorldServicePort.http-conduit}
> My endpoint address is
>
>
> https://server:8181/mes/bw/TESTINGJAAS?handlers=securityHandler&amp;matchOnUriPrefix=true<https://server:8181/mes/bw/TESTINGJAAS?handlers=securityHandler&matchOnUriPrefix=true>
>
> Can you please guide me in setting up basic auth on this endpoint
>
> Reji
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/JAAS-Basic-Auth-using-http-conduit-tp5738124.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to