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/08/28 09:44:00 UTC
JAAS Basic Auth using http:conduit
Hi Guys
Can you please guide me in securing a simple CXF endpoint using
*
<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>*
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&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.
Re: JAAS Basic Auth using http:conduit
Posted by Christian Müller <ch...@gmail.com>.
{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 <co...@gmail.com> wrote:
> Hi Guys
>
> Can you please guide me in securing a simple CXF endpoint using
> *
> <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>*
>
> 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&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.
>