<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>This is really a user list question unless you're going to hack Shibboleth to allow that behavior. Shib requires a strict URL match for the ACS endpoints. If any application needs to send state information (your ID value), then that's what the relay state
 is for. The grails application needs to change.</div>
<div><br>
</div>
<div>Paul</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Mitu Singh &lt;<a href="mailto:mitusingh27@yahoo.com">mitusingh27@yahoo.com</a>&gt;<br>
<span style="font-weight:bold">Reply-To: </span>Shibboleth Dev &lt;<a href="mailto:dev@shibboleth.net">dev@shibboleth.net</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Monday, August 26, 2013 4:41 PM<br>
<span style="font-weight:bold">To: </span>Shibboleth Dev &lt;<a href="mailto:dev@shibboleth.net">dev@shibboleth.net</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>error related to destinatioin when using opensaml and grails<br>
</div>
<div><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: tahoma, 'new york', times, serif; font-size: 13.3333px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: transparent; ">
decoding.BaseSAMLMessageDecoder<span class="Apple-converted-space">&nbsp;</span><br>
SAML message intended destination endpoint '<a href="http://localhost:8080/myIdp/SPInitRedirect/receiveSSORequest/940iuuikfpkqru5l">http://localhost:8080/myIdp/SPInitRedirect/receiveSSORequest/940iuuikfpkqru5l</a>' did not match the recipient endpoint '<a href="http://localhost:8080/myIdp/grails/SPInitRedirect/receiveSSORequest.dispatch">http://localhost:8080/myIdp/grails/SPInitRedirect/receiveSSORequest.dispatch</a>'<br>
SAML message intended destination endpoint did not match recipient endpoint</div>
<div style="color: rgb(0, 0, 0); font-family: tahoma, 'new york', times, serif; font-size: 13.3333px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: transparent; ">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: tahoma, 'new york', times, serif; font-size: 13.3333px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: transparent; ">
where SPInitRedirect is Controller<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: tahoma, 'new york', times, serif; font-size: 13.3333px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: transparent; ">
<span class="tab">&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span class="tab">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span>receiveSSORequest is Action</div>
<div style="color: rgb(0, 0, 0); font-family: tahoma, 'new york', times, serif; font-size: 13.3333px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: transparent; ">
<span class="tab">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span>940iuuikfpkqru5l is Id<br>
<span class="tab">&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: tahoma, 'new york', times, serif; font-size: 13.3333px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: transparent; ">
<span class="tab">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.</span></div>
<div style="color: rgb(0, 0, 0); font-family: tahoma, 'new york', times, serif; font-size: 13.3333px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: transparent; ">
<br>
<span class="tab"></span></div>
<div style="color: rgb(0, 0, 0); font-family: tahoma, 'new york', times, serif; font-size: 13.3333px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: transparent; ">
<span class="tab">So the validation of the request fails<br>
</span></div>
<br class="Apple-interchange-newline">
</span>
</body>
</html>