<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt">Scott,<br><br>This my code:<br><span class="tab">&nbsp;&nbsp;&nbsp; </span><span class="tab">&nbsp;&nbsp;&nbsp; </span>Signature signature = response.getSignature();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SAMLSignatureProfileValidator profileValidator = new SAMLSignatureProfileValidator();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; try {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; profileValidator.validate(signature);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br><div><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><span>Is there something wrong with this code?<br></span></div><div><br></div>  <div style="font-family: tahoma, new york, times, serif;
 font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> "Cantor, Scott" &lt;cantor.2@osu.edu&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Shib Dev &lt;dev@shibboleth.net&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, May 10, 2013 2:27 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> RE: error validating signature on Jboss<br> </font> </div> <div class="y_msg_container"><br>&gt; I found the source of the issue. Jboss7.1.1 has modules for xmlsec version<br>&gt; 1.5.4. The xmlsec that works with opensaml is 1.4.5. If I replace the xmlsec<br>&gt; module in the jboss with 1.4.5, everything works fine.<br><br>Then I think your code is at fault, because the only difference is in xmlsec's improper identification of ID attributes in 1.4. You must not be
 using OpenSAML to process the objects, or it would automatically tag the attributes properly.<br><br>-- Scott<br><br><br><br>--<br>To unsubscribe from this list send an email to <a ymailto="mailto:dev-unsubscribe@shibboleth.net" href="mailto:dev-unsubscribe@shibboleth.net">dev-unsubscribe@shibboleth.net</a><br><br><br></div> </div> </div>  </div></body></html>