error related to destinatioin when using opensaml and grails
Mitu Singh
mitusingh27 at yahoo.com
Mon Aug 26 16:41:25 EDT 2013
Hi,
I have an IDP that uses grails and OpenSaml. When the Authentication Request has a destination attribute, the validation of the request fails. An exception is thrown by checkEndpointURI(SAMLMessageContext messageContext) of BaseSAMLMessageDecoder.
decoding.BaseSAMLMessageDecoder
SAML message intended destination endpoint 'http://localhost:8080/myIdp/SPInitRedirect/receiveSSORequest/940iuuikfpkqru5l' did not match the recipient endpoint 'http://localhost:8080/myIdp/grails/SPInitRedirect/receiveSSORequest.dispatch'
SAML message intended destination endpoint did not match recipient endpoint
where SPInitRedirect is Controller
receiveSSORequest is Action
940iuuikfpkqru5l is Id
When the checkEndpointURI does a httpRequest.getRequestURL(), the url returned has /grails and .dispatch and the id is not there. That is how the grails request URL looks like.
So the validation of the request fails
I know this is more of grails question, but I wanted to check if anyone on this forum has seen this issue and has a solution for this.
Thanks,
-Mitu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/dev/attachments/20130826/640725a6/attachment.html
More information about the dev
mailing list