Hi Nandana,

I had some older jars in the runtime. I have put everything from the nightly
build and the sample works properly.
Thanks!

Regards, Plamena

On Feb 7, 2008 3:26 PM, Nandana Mihindukulasooriya <[EMAIL PROTECTED]>
wrote:

> Hi Plamena,
>        Are you using the latest Rampart jars ? I just checked the
> sample with the
> trunk and was able to successfully get the SAML token and call the
> service.
> These samples pick the Rampart jars from the AXIS2/lib directory. So
> latest
> Rampart jars have to be there in the Axis2 lib.
>      Can you please post the complete stack trace so we can get an idea
> what
> is going on ?
>
> regards,
> /nandana
>
> On Feb 7, 2008 6:14 PM, Plamena Chongova <[EMAIL PROTECTED]> wrote:
> > 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/
> >
> >
>
>
> http://nandana83.blogspot.com/
> http://nandanasm.wordpress.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to