>>Are you sure you are actually adding the the Signature to the object you are
signing.<br> I think based on the code I posted in the original email, the answer should be Yes. <br><br><br clear="all">Yaowen<br>
<br><br><div class="gmail_quote">On Wed, Oct 31, 2012 at 3:13 PM, Brent Putman <span dir="ltr"><<a href="mailto:putmanb@georgetown.edu" target="_blank">putmanb@georgetown.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I just noticed this is on the Shib users list. Please move all followup<br>
to Shib dev list.<br>
<div class="im"><br>
On 10/31/12 6:07 PM, Yaowen Tu wrote:<br>
> Thanks Brent. Are you suggesting simply use:<br>
> prepareSignatureParams(signature, signingCredential, null,<br>
> null);?<br>
><br>
<br>
</div>The last param, yes. The next to last (security configuration) it<br>
doesn't matter, it will use the default one if you pass null.<br>
<div class="im"><br>
> I have tried this, and after creating a signed object, when I try to<br>
> validate it, I got this exception:<br>
><br>
> org.opensaml.xml.validation.ValidationException: Apache XMLSignature<br>
> does not exist on SignatureImpl<br>
> at<br>
> org.opensaml.security.SAMLSignatureProfileValidator.validateSignatureImpl(SAMLSignatureProfileValidator.java:70)<br>
> at<br>
> org.opensaml.security.SAMLSignatureProfileValidator.validate(SAMLSignatureProfileValidator.java:56)<br>
> at com.actuate.server.saml.SAML.validateSignature(SAML.java:202)<br>
<br>
</div>Ok, but this doesn't have anything to do with the earlier issue. Are<br>
you sure you are actually adding the the Signature to the object you are<br>
signing.<br>
<div class="im"><br>
><br>
> So should I try to create a "XMLSignature" manager or try to resolve<br>
> this problem?<br>
><br>
<br>
</div>No, that is completely unrelated.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</div></div></blockquote></div><br>