>>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">&lt;<a href="mailto:putmanb@georgetown.edu" target="_blank">putmanb@georgetown.edu</a>&gt;</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>
&gt; Thanks Brent. Are you suggesting simply use:<br>
&gt;             prepareSignatureParams(signature, signingCredential, null,<br>
&gt; null);?<br>
&gt;<br>
<br>
</div>The last param, yes.  The next to last (security configuration) it<br>
doesn&#39;t matter, it will use the default one if you pass null.<br>
<div class="im"><br>
&gt; I have tried this, and after creating a signed object, when I try to<br>
&gt; validate it, I got this exception:<br>
&gt;<br>
&gt; org.opensaml.xml.validation.ValidationException: Apache XMLSignature<br>
&gt; does not exist on SignatureImpl<br>
&gt;     at<br>
&gt; org.opensaml.security.SAMLSignatureProfileValidator.validateSignatureImpl(SAMLSignatureProfileValidator.java:70)<br>
&gt;     at<br>
&gt; org.opensaml.security.SAMLSignatureProfileValidator.validate(SAMLSignatureProfileValidator.java:56)<br>
&gt;     at com.actuate.server.saml.SAML.validateSignature(SAML.java:202)<br>
<br>
</div>Ok, but this doesn&#39;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>
&gt;<br>
&gt; So should I try to create a &quot;XMLSignature&quot; manager or try to resolve<br>
&gt; this problem?<br>
&gt;<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>