What does the full policy look like? That fragment looks ok to me. What error are you getting? Also, what version of CXF are you using?
Colm. On Wed, Aug 17, 2011 at 10:36 PM, Penmatsa, Vinay <[email protected]> wrote: > Hi, > I'm unable to define the correct policy for SAML_TOKEN_SIGNED. The following > gets the STS token and includes it in the request, but now I need sign the > message. > > <sp:InitiatorToken> > <wsp:Policy> > <sp:IssuedToken > sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient"> > <sp:RequestSecurityTokenTemplate> > > <t:TokenType>http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0</t:TokenType> > > <t:KeyType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/PublicKey</t:KeyType> > </sp:RequestSecurityTokenTemplate> > <wsp:Policy> > <sp:RequireInternalReference /> > <wsp:Policy> > </sp:IssuedToken> > </wsp:Policy> > </sp:InitiatorToken> > > I think I've to use InitiatorSignatureToken, but not sure how. > > > Thanks, > Vinay > > -- Colm O hEigeartaigh http://coheigea.blogspot.com/ Talend - http://www.talend.com
