How do I set Relying Party Identifier in RequestSecurityToken
Gina Choi
gchoi at sdl.com
Thu Mar 15 18:00:27 GMT 2012
Hi All,
When I build AuthnRequest, I used issuer.setValue(issuerUrl) to set
RelyingParty indentifier(URL). I need to get RequestSecurityToken(RST) from a
certain Relying Party in STS. How to I mention that Relying Party inside my
RequestSecurityToken? Is this something that I can set up through
EndpointReference? Following is my sample RST.
<trust:RequestSecurityToken
xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">
<wsp:AppliesTo xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
<a:EndpointReference>
<a:Address>https://yourcompany.com</a:Address>
</a:EndpointReference>
</wsp:AppliesTo>
<trust:KeyType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/Bearer</trust
:KeyType>
<trust:RequestType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/Issue</tr
ust:RequestType>
<trust:TokenType>urn:oasis:names:tc:SAML:2.0:assertion</trust:TokenType>
</trust:RequestSecurityToken>
Thanks.
Gina
More information about the dev
mailing list