<div dir="ltr">Hi,<div>  we've been running and IDP with v2 and our custom authentication+authorization.</div><div>  Our custom authentication is basically a servlet filter which sits on top of:</div><div><ul><li>/Authn/*<br></li><li>/profile/SAML2/Unsolicited/SSO<br></li><li>/profile/SAML2/Redirect/SSO<br></li></ul><div> and wraps request/response to provide a Principal</div></div><div> this is done by redirecting to a custom auth webapp which is providing SSO etc... (OAuth 2 like) with both authentication+authorization.</div><div> This is done using <span style="color:rgb(0,0,0);font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace;font-size:14px;line-height:20px;white-space:nowrap">HttpServletHelper.getLoginContext </span>as in <a href="https://wiki.shibboleth.net/confluence/display/SHIB2/IdPAuthUserPassLoginPage">https://wiki.shibboleth.net/confluence/display/SHIB2/IdPAuthUserPassLoginPage</a>  to discover the EntityID of the Service Provider (this is needed for authorization purposes).</div><div><br></div><div>  Any suggestion on how to do this on IDP v3 ? </div><div>  in brief: We need to obtain the SP's EntityID from inside a filter servlet which sits on top of the IDP servlets</div><div><br></div><div>   many thanks!</div><div><br></div><div>       -Simone</div><div><br></div></div>