<div dir="ltr"><div>I have an existing web application that contains a table of users and encrypted passwords. It is written in PHP and I have full access to program it however I need to. The passwords I need to authenticate against are hashed using a heavy encryption algorithm that is not able to be replicated in SQL alone.<br></div><div><br></div><div>I'd like to configure Shibboleth to hand over control to this server, allow a user to log in and accept information back that allows it to continue the SAML conversation it started with another SP.</div><div><br></div><div>Currently, it is looking like RemoteUser Authentication is the way to go here. </div><div><br></div><div>I've done the following:</div><div><br></div><div>Set ```<span class="">idp.authn.flows</span><span class=""> = </span><span class="">RemoteUser``` </span>in idp.properties</div><div><br></div><div>Commented out all non RemoteUser methods in the general-auth.xml file.</div><div><br></div><div>Turned Debug on.</div><div><br></div><div>I've updated this line in ```conf/authn/remoteuser-authn-config.xml``` with my server's url</div><div><br></div><div>
<p class=""><span class="">!-- Servlet context-relative path to wherever your implementation lives. --></span></p><p class=""><span class=""><bean </span><span class="">id</span><span class="">=</span><span class="">"shibboleth.authn.RemoteUser.externalAuthnPath"</span><span class=""> </span><span class="">class</span><span class="">=</span><span class="">"java.lang.String"</span></p>
<p class=""><span class=""> </span><span class="">c</span><span class="">:</span><span class="">_0</span><span class="">=</span><span class="">"<a href="http://DifferentSubdomain.MyDomainGoesHere.com/Auth/login">http://DifferentSubdomain.MyDomainGoesHere.com/Auth/login</a>"</span><span class=""> /></span></p><p class=""><span class=""><br></span></p><p class=""><span class="">The SP negotiates with Shibboleth correctly. And indeed Shibboleth will forward to this server. However, I cannot seem to pass back adequate credentials in a way Shibboleth understands.</span></p><p class="">The documentation for Shibbileth IDP 3.0 (the version I'm using) is very non-specific about this but hints that I should be able to pass back attributes or headers containing the remote user's information to satisfy this system. Is there better documentation to look at or can I get some advice on how that interface works?</p><p class=""><br></p><p class=""><br></p></div>
</div>