Mar 21st, 2011, 09:10 AM
SP Initiated request going wrong.
Am facing this wierd problem of having wrong parameter being sent to IDP . Below are the 2 issues am facing in sending a successful AuthNRequest.
1. Instead of SAMLRequest parameter being sent, SAMLResponse parameter is being sent.
2. The value of SAMLResponse parameter is being populated properly(Base64 encoded) but is URL encoded and so a padding is added at the end of the post data.
I used HTTPFox to debug this and found the above...
Can any one point me where am doing wrong? Am using spring-security-saml implemetation project that spring has provided and has changed nothing and using it as it is..changed only the securityContext.xml(idp URLs) and idp.xml file.
Any Help is much appreciated as am struggling on this for the past 2 days and couldnt get a solution on net as well...