Problem:
I am using OpenSAML to build a means of authenticating the SAML 2.0 response posted to our servers. I have got most of it working, with the
Well, it turns out that the above code is correct. It was the sample SAML Response that was incorrect. I guess the lesson to be learned from all this is to trust in your implementation :)