There is nothing wrong with the generated Signature. The empty reference
URI in conjunction with the enveloped signature transform, points to the
parent Element of the Signature. So it's a perfectly valid Signature.

Colm.


On Fri, May 17, 2013 at 11:39 PM, David Yu <tsunbo...@gmail.com> wrote:

> Dear Santuario developers,
> I tried to sign the SAML request but I got the empty Reference URI.
> The sample.xml that client sent me has <ds:Reference
> URI="#_85a81f6ddcb407a62b980891e3507f13"> which matches the RequestID in
> SAMLRequest.
> However, when I try to sign the request, I get the empty Reference URI.
>
> Could someone show me how can I make it happen to create an non-empty
> Reference URI?
>
> Attached please find the code SignRequest.java that I used to sign
> request.xml.
> sample.xml is the sample that client sent me and it has non-empty
> Reference URI.
>
> Thank you
> David
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to