You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by patch_78 <pa...@hotmail.com> on 2013/02/27 11:33:17 UTC

CXF + SAML2 + JPA Example

Hi,

I have got a task to implement secured CXF web service with provide db
create/remove/update/delete. This web service will run on Tomcat. 

This web service's client is authenticated by another SAML2 identity
provider. 

I am struggling to make web service connecting with DB and also using
SAML2-based policy for security aspect.

If someone can help me with examples, it would be grateful.

Thanks,
patch
 



--
View this message in context: http://cxf.547215.n5.nabble.com/CXF-SAML2-JPA-Example-tp5723793.html
Sent from the cxf-user mailing list archive at Nabble.com.

RE: CXF + SAML2 + JPA Example

Posted by Andrei Shakirin <as...@talend.com>.
Hi,

Regarding SAML2 you can start from Glen Mazza tutorial: http://www.jroller.com/gmazza/entry/cxf_sts_tutorial .
Regarding JPA, as far as you deploy your service in Tomcat, there is nothing different from DB connection for Web application: use JNDI data source and reference to documentation of your JPA provider: EclipseLink, OpenJPA, Hibernate, etc.

Cheers,
Andrei.

> -----Original Message-----
> From: patch_78 [mailto:patch_78@hotmail.com]
> Sent: Mittwoch, 27. Februar 2013 11:33
> To: users@cxf.apache.org
> Subject: CXF + SAML2 + JPA Example
> 
> Hi,
> 
> I have got a task to implement secured CXF web service with provide db
> create/remove/update/delete. This web service will run on Tomcat.
> 
> This web service's client is authenticated by another SAML2 identity provider.
> 
> I am struggling to make web service connecting with DB and also using
> SAML2-based policy for security aspect.
> 
> If someone can help me with examples, it would be grateful.
> 
> Thanks,
> patch
> 
> 
> 
> 
> --
> View this message in context: http://cxf.547215.n5.nabble.com/CXF-SAML2-
> JPA-Example-tp5723793.html
> Sent from the cxf-user mailing list archive at Nabble.com.