<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>I'm integrating SAML2 support into a Java based product as a relying party. It has its own http engine so I'm a bit limited in how I implement that support. Another condition is that the IdP is MS ADFS (always fun). So I've had to use Apache with mod_proxy
 to provide SSL so that ADFS is happy. That's where my problem has come in. When the OpenSAML libraries validate the response, it fails with the:</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre">SAML message intended destination endpoint did not match recipient endpoint</span></div>
<div><br>
</div>
<div>I can see the cause and understand why its there, but have to figure out a work around. Near as I can tell, I can't get around the mismatch on the scheme when it goes through the proxy. So I end up with these two URLs:</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>https://app.hethmon.net/foo/bar</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>http://app.hethmon.net/foo/bar</div>
<div><br>
</div>
<div>So if I can't configure my way out of it (and I've been looking for that option), is the only option in OpenSAML to override the &nbsp;endpoint check in the handler? I just hate doing that as I have to branch the code.</div>
<div><br>
</div>
<div>thanks,</div>
<div><br>
</div>
<div>Paul</div>
<div><br>
</div>
</body>
</html>