On Thursday 03 March 2011 2:35:24 PM Morris Jr, David P wrote: > Is there SamlToken support in WS-Policy in the current release of CXF? Or > is this still under development?
We currently don't support it. (Neither does Rampart BTW) If you would like to help out, I can definitely provide pointers as to where to start. It's likely not a huge amount of work if you would like tackle it. Basically, you would need to add an Assertion and AssertionBuilder for it (relatively easy) and then update a few places in the org.apache.cxf.ws.security.wss4j.policyhandlers package to support it. Most likely, a grep for IssuedToken would provide pointers for where to start. Dan > > Example: > <wsp:Policy> > ... > <sp:EndorsingSupportingTokens> > <wsp:Policy> > <sp:SamlToken > > sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702 > /IncludeToken/AlwaysToRecipient"> <wsp:Policy> > <sp:WssSamlV20Token11 /> > </wsp:Policy> > </sp:SamlToken> > </wsp:Policy> > </sp:EndorsingSupportingTokens> > ... > </wsp:Policy> -- Daniel Kulp [email protected] http://dankulp.com/blog Talend - http://www.talend.com
