Hi Nandana, Thanks for the reply. I tried the sample. The client issues and receives SAML token, but when tries to authenticate to the other service fails with exception: Referenced security token could not be retrieved. (Reference "#EncKeyId-13044493") As far as I saw the services.xml file contains the STS service policy and the trusted service policy and they are deployed together. Do you have any idea where is the problem?
Regards, Plamena On Feb 1, 2008 6:50 PM, Nandana Mihindukulasooriya <[EMAIL PROTECTED]> wrote: > Hi Plamena, > > I found one sample how a client can issue a SAML token, but I didn't > > understand how this client can use the token to authenticate to another > > service. > > > Please take a look at the Rampart Sample 05 [1] . Client [2] is now > extended to use the obtained SAML token to do the authentication. > Thanks, > Nandana > > [1] - > https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/rampart-samples/policy/sample05/ > [2] - > https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/rampart-samples/policy/sample05/src/org/apache/rampart/samples/policy/sample05/Client.java > > -- > Nandana Mihindukulasooriya > Software Engineer > WSO2 inc. > > http://nandana83.blogspot.com/ > http://nandanasm.wordpress.com/
