I am trying to run the application provided at https://github.com/spring-projects/spring-security-saml(master version) and using adfs as idp and followed all the steps given
I just had this problem - last step of the guide here when setting up the Relaying Party Trust:
http://docs.spring.io/spring-security-saml/docs/current/reference/html/chapter-idp-guide.html
"Open the provider by double-clicking it, select tab Advanced and change "Secure hash algorithm" to SHA-1"