<div dir="ltr">Hi,<div><br></div><div><br></div><div>Here is how we are doing this for Solum:</div><div>Keystone auth: <a href="https://github.com/stackforge/solum/blob/master/solum/api/auth.py">https://github.com/stackforge/solum/blob/master/solum/api/auth.py</a></div>
<div>Additional Hook: <a href="https://review.openstack.org/#/c/64458/">https://review.openstack.org/#/c/64458/</a> (auth.py for hook code and config.py for hooks)</div><div><br></div><div>Here is an e-mail thread with discussion: <a href="http://lists.openstack.org/pipermail/openstack-dev/2014-January/023524.html">http://lists.openstack.org/pipermail/openstack-dev/2014-January/023524.html</a></div>
<div><br></div><div>Hope this will help,</div><div>Georgy</div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 8, 2014 at 3:02 PM, Pendergrass, Eric <span dir="ltr"><<a href="mailto:eric.pendergrass@hp.com" target="_blank">eric.pendergrass@hp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">I need to add an additional layer of authorization between auth_token and the reporting API. <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I know it’s as simple as creating a WSGI element and adding it to the pipeline. Examining the code I haven’t figured out where to begin doing this.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I’m not using Apache and mod_wsgi, just the reporting API and Pecan.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Any pointers on where to start and what files control the pipeline would be a big help.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888"><p class="MsoNormal">Eric<u></u><u></u></p>
</font></span></div></div><br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br>
</div></div>