Re: SAML token insertion using ServiceClient class.

2008-03-12 Thread Dimuthu Leelarathne
Hi, Converting back and forth between SAMLAssertion and DOM is an easy task. Use the following methods. SAMLAssertion:toDOM(); SAMLAssertion assertion = new SAMLAssertion(inputStream); Thanks, Dimuthu On Wed, 2008-03-12 at 16:44 +0100, Nuria Rodríguez García wrote: > Hi Nandana and Dimuthu, th

Re: SAML token insertion using ServiceClient class.

2008-03-12 Thread Nuria Rodríguez García
Hi Nandana and Dimuthu, thanks for your comments, We have a more complex problem because we can manage/store only DOM elements in our Database (instead of Token elements) and would like to generate a Token from an assertion. We mean that we would like to do the following: 1) obtain a SAML assertio

Re: SAML token insertion using ServiceClient class.

2008-03-12 Thread Nandana Mihindukulasooriya
Hi Nuria, You can implement a persistent token storage for this scenario. So that you can persist the tokens you obtain and later use them. Currently Rampart uses SimpleTokenStore which doesn't persist tokens. To understand how Rampart store a SimpleTokenStore in the configuration context,

Re: SAML token insertion using ServiceClient class.

2008-03-12 Thread Dimuthu Leelarathne
Hi, I can point to you some code that uses something called "Token Storage" [1] Thank you, Dimuthu [1] https://wso2.org/repos/wso2/trunk/wsas/java/modules/samples/sts-sample/src/org/wso2/wsas/sample/sts/client/Client.java On Wed, 2008-03-12 at 11:14 +0100, Lasse Tyrihjell wrote: > Hi! > I hav

Re: SAML token insertion using ServiceClient class.

2008-03-12 Thread Nuria Rodríguez García
Hi Nandana, We are blocked in a similar case with a special scenario. As we have answered to Harvdev, we can send a SAML token received from a SAML authority directly to a Service Provider. But, we would like to invoke the Service Provider several times using a unique SAML token obtained previous

Re: SAML token insertion using ServiceClient class.

2008-03-12 Thread Nuria Rodríguez García
Hi Hardev, We have an example that may help you (we don´t know exactly if is the same case): We invoke a STS service that provide us with a SAML token into a Token object. After this, we invoke the Service Provider using the SAML token obtained previously. >You can do this with these lines

Re: SAML token insertion using ServiceClient class.

2008-03-12 Thread Lasse Tyrihjell
Hi! I have a very related issue. I receive an encrypted SAML-token from a third party, and I want to add it manually to the Security header using the ServiceClient class. Is this possible? Is it necessary to decrypt the data before inserting it into the Security header? -LT On Mon, 2008-03-03

Re: SAML token insertion using ServiceClient class.

2008-03-03 Thread Nandana Mihindukulasooriya
Hi Hardev, Can you please explain your scenario ? Do you want to add it to the SOAP header ( specifically security header ) ? thanks, /nandana On Fri, Feb 29, 2008 at 6:40 AM, Hardev Sian <[EMAIL PROTECTED]> wrote: > Hi, > > Is it possible to insert a saml token which has been acquired f

SAML token insertion using ServiceClient class.

2008-02-28 Thread Hardev Sian
Hi, Is it possible to insert a saml token which has been acquired from a third party into the soap request using ServiceClient class. Regards, Hardev - Get the name you always wanted with the new y7mail email address.