You can call SAMLCallback.setAssertionElement(Element) in your CallbackHandler implementation with more recent versions of CXF:
http://svn.apache.org/viewvc/webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/saml/ext/SAMLCallback.java?view=markup Colm. On Wed, Jun 5, 2013 at 12:28 PM, patch_78 <[email protected]> wrote: > Hi, > > I am a newbie. I also followed this example > > > http://coheigea.blogspot.com/2011/06/ws-securitypolicysaml-sample-in-talend.html > > Can someone please show me source code how to add an existing 'SAML' token > into the SAML callback ? > > (My web application gets an SAML token from an service identity provider > when a user logins on the web application, and the web application uses > this > SAML token in a request to other web services) > > patch > > > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/WS-Security-Policy-with-Existing-SAML-Token-tp5720608p5728780.html > Sent from the cxf-user mailing list archive at Nabble.com. > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
