Talend offers a downloadable advanced CXF STS example (https://github.com/Talend/tsf/tree/master/examples/jaxws-cxf-sts-advanced) that you can get either off GitHub directly or via downloading the free/open source Talend ESB Standard Edition and looking in the examples folder. This example demonstrates token validation.

My blog article: http://www.jroller.com/gmazza/entry/cxf_sts_tutorial and the simpler CXF STS example in a sibling folder to the above sample can provide additional help.

HTH,
Glen

On 02/05/2012 06:49 PM, Klaus Teller wrote:
Hi,

I'm new to CFX, STS, and WS-Trust. Please bear with me. I'm writing a piece of a 
sofware where some authentication via an STS server is involved. The user connects to 
the STS server and gets an XML document with root element<Assertion>. Then the 
user connects to my application and passes this XML document. My application is 
supposed to connect back to the STS server to validate the assertion presented by the 
user. I'm attaching a sample XML of how the SOAP message sent from my application to 
the STS has to look like.

The general question is, how can I use CFX to accomplish this? are some sample 
code available somewhere?

In partcular, how to I insert that XML assertion in the SOAP envelop header 
using CFX?

Thanks,
Klaus.



--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza

Reply via email to