sure its possible .. just include the element in the signatureParts and encryptionParts.
Thanks, Ruchith On 10/24/06, Jesús Daniel Blázquez Carazo <[EMAIL PROTECTED]> wrote:
Hi. But I need that Rampart sign and encrypt the token in the header. ----- Original Message ----- From: "Ruchith Fernando" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, October 21, 2006 9:28 AM Subject: Re: UsernameToken dynamic > Hi, > > You can create the wsse:Security header and insert the Token you > obtain from the STS into the header and add this header to the SOAP > Header of your request SOAP Envelope. Rampart/WSS4J will not remove > this header and will add other security information to the *same* > header. > > Thanks, > Ruchith > > On 10/19/06, Jesús Daniel Blázquez Carazo <[EMAIL PROTECTED]> wrote: >> >> >> Hello. >> >> I am trying to secure the web service using axis1.4 in the server side >> and >> in the client side axis 2. >> >> My problem is the following: >> >> I use rampart module to insert the username token in the SOAP header. But >> this username token is unknown in development time because it is returned >> by >> a Security Token Service in runtime. I like to know how to insert this >> dynamic username token into the AxisConfiguration object. >> To test I include the username in the axis2.xml in development time but >> for >> my proposal it must be inserted in runtime. >> >> Thanks > > > -- > www.ruchith.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > You can create the wsse:Security header and insert the Token you > obtain from the STS into the header and add this header to the SOAP > Header of your request SOAP Envelope. Rampart/WSS4J will not remove > this header and will add other security information to the *same* > header. > > Thanks, > Ruchith > > On 10/19/06, Jesús Daniel Blázquez Carazo <[EMAIL PROTECTED]> wrote: >> >> >> Hello. >> >> I am trying to secure the web service using axis1.4 in the server side >> and >> in the client side axis 2. >> >> My problem is the following: >> >> I use rampart module to insert the username token in the SOAP header. But >> this username token is unknown in development time because it is returned >> by >> a Security Token Service in runtime. I like to know how to insert this >> dynamic username token into the AxisConfiguration object. >> To test I include the username in the axis2.xml in development time but >> for >> my proposal it must be inserted in runtime. >> >> Thanks > > > -- > www.ruchith.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- www.ruchith.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
