I had a similar problem and with help from Werner, i could resolve them. I added the parameter "signatureParts" in my *-config.wsdd:
<parameter name="signatureParts" value="{}{ http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Timestamp;{}{http://schemas.xmlsoap.org/soap/envelope/}Body" />
After that, wsu:Timestamp had an wsu:id...
Have a look at org.apache.ws.security.handler.WSHandlerConstants for more information...
Regards,
Christian
On 1/18/06, Ruchith Fernando <[EMAIL PROTECTED]
> wrote:
Hi Christian, Werner,
I was the one who made that svn commit.
I ran into an interop scenario (action="" UsernameToken")
where it needed the wsu:Id s to be present on both the tokens even
though they were not referenced. This change adds a wsu:Id ALL the
time even when they are not referenced.
I checked this in coz this may be useful for WSS4J in terms of
interoperability, and it didn't harm any of the existing
functionality. But maybe ideally we should add a switch to turn on
wsu:Id even when the token (UsernameToken or Timestamp) is not
referenced. What do you guys think?
Thanks and regards,
Ruchith
On 1/17/06, Christian Müller < [EMAIL PROTECTED]> wrote:
> Hi Werner!
>
> Thanks for the hint. It works great.
>
> I meant the following mailing list entry:
> http://mail-archives.apache.org/mod_mbox/ws-fx-dev/200509.mbox/[EMAIL PROTECTED]
>
> Regards,
> Christian
>
> P.S. Please, call me Christian... ;o)
>
>
> On 1/16/06, Werner Dittmann <[EMAIL PROTECTED]> wrote:
> > Christina,
> >
> > sure you can sign a Timestamp, in fact you can sign any element
> > in a request message. Please have a look at the "signatureParts"
> > parameter - described in the WSHandlerConstants java file (run
> > Javadoc on the source or in the documents tree of the binary
> > distribution). This parameters is available since the first
> > versions of WSS4J.
> >
> > BTW, to which function do you refer that was added after 4th of
> > September?
> >
> > Regards,
> > Werner
> >
> > Christian Müller wrote:
> > > Hi all!
> > >
> > > In my project, i need the functionality to signed the timestamp. This
> > > functionality was added at 04 Sept., after version 1.1.0 was released...
> :o(
> > > When comes the next version?
> > >
> > > Regards,
> > > Christian
> >
> >
>
>
--
Ruchith
