cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <ch...@die-schneider.net>
Subject Re: Configuring 2way SSL on a REST endpoint in an OSGi container
Date Fri, 16 Sep 2016 08:21:47 GMT
I am not sure about reading the client certificate in an interceptor but 
that part should be for the most part unrelated to
OSGi. Maybe you can ask that as a separate question so people without 
OSGi knowledge tune in.

Christian

On 16.09.2016 08:42, Martin Nielsen wrote:
> Hello everyone.
>
> I have a question about using CXF in an OSGi container. More specifically
> using it via Declarative Services.
>
> I need to create a REST endpoint, that is secured by 2way SSL, as well as
> an interceptor which can read the incomming client certificate after the
> handshake in order to perform authentication inside the application itself.
>
> But how do i do this? I found a demo to make CXF register a component as a
> rest service here. http://cxf.apache.org/dosgi-ds-demo-page.html
>
> But i still can't resources on how to do the 2way ssl part.
> I know i need to setup trust and keystores on the HTTPConduit, but i have
> no idea how or where to do that in an OSGi environment.
>
> I am using Karaf for the OSGi container, if that has any relevance.
>
> Thank you in advance
>
> -Martin
>


-- 
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com


Mime
View raw message