<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 9, 2015 at 7:45 PM, Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 7/9/15, 2:23 AM, "dev on behalf of Dulanja Liyanage" <<a href="mailto:dev-bounces@shibboleth.net">dev-bounces@shibboleth.net</a> on behalf of <a href="mailto:dulanja.liyanage@gmail.com">dulanja.liyanage@gmail.com</a>> wrote:<br>
<br>
><br>
>I'm trying to find a way to set the DigestMethod algorithm like that. The only way to do that seems to be :<br>
<br>
</span>You're not meant to set the signature algorithm like that either, but if you were operating at that low a level, I think you can control the DigestMethod by directly accessing the ContentReference in the Signature.<br></blockquote><div><br></div><div>Thanks for pointing the right direction Scott. I did accordingly to [1] and it worked. Wonder how I missed that thread. </div><div><br></div><div>[1] <a href="https://lists.internet2.edu/sympa/arc/mace-opensaml-users/2007-10/msg00003.html">https://lists.internet2.edu/sympa/arc/mace-opensaml-users/2007-10/msg00003.html</a> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span class=""><br>
>However, that's a global configuration. In my application we bootstrap OpenSAML only once and then used by different threads with different configurations - like different signature algorithms. Is there a way to do this in a thread-safe manner like the Signature Algorithm?<br>
<br>
</span>The best answer is to stop reimplementing Shibboleth. The second best answer is that you would have to copy the kinds of things Shibboleth does by using the parameter "resolvers" that take multiple levels of SignatureSigningConfiguration objects and merge them together.<br>
<span class=""><font color="#888888"><br>
-- Scott<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:dev-unsubscribe@shibboleth.net">dev-unsubscribe@shibboleth.net</a><br>
</font></span></blockquote></div><br></div></div>