<p dir="ltr">OpenShift runs on docker, and all the "cartridges" are now just docker images. The only thing that still uses the proprietary image format is open shift online which is converting to the docker format "soon" (been in the works for a while, large undertaking). </p>
<p dir="ltr">So you can add shib to any image and run it in open shift provided you follow some guidelines. <a href="https://docs.openshift.org/latest/creating_images/guidelines.html">https://docs.openshift.org/latest/creating_images/guidelines.html</a></p>
<div class="gmail_quote">On Mar 16, 2016 6:50 AM, "Scott Wilson" <<a href="mailto:scott.bradley.wilson@gmail.com">scott.bradley.wilson@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> On 16 Mar 2016, at 10:06, Peter Schober <<a href="mailto:peter.schober@univie.ac.at">peter.schober@univie.ac.at</a>> wrote:<br>
><br>
> * Scott Wilson <<a href="mailto:scott.bradley.wilson@gmail.com">scott.bradley.wilson@gmail.com</a>> [2016-03-16 10:05]:<br>
>> Has anyone deployed an SP on the OpenShift PaaS? Or, even better, is<br>
>> there a Cartridge available?<br>
>><br>
>> I imagine its fairly straightforward to add the SP filter to a Httpd<br>
>> server in a DIY Gear, but I’d like to avoid that if at all<br>
>> possible.<br>
><br>
> The aim being the Shib SP protecting Applications running inside<br>
> OpenShift-managed containers?<br>
<br>
Indeed.<br>
<br>
> I hadn't even heard any of those terms before but a quick search<br>
> returned this. e.g.:<br>
> <a href="https://docs.openshift.org/origin-m4/oo_cartridge_developers_guide.html" rel="noreferrer" target="_blank">https://docs.openshift.org/origin-m4/oo_cartridge_developers_guide.html</a><br>
> "Cartridge configuration and setup is convention based, with<br>
> emphasis on minimizing external dependencies in your cartridge<br>
> code."<br>
> Not sure the Shib SP and all its dependencies (incl httpd, usually)<br>
> qualifies for the latter (the "emphasis")?<br>
> Anyway, I'd say however you get Apache httpd and the other modules on<br>
> such a system, that's how you'd also get the Shib SP installed?<br>
<br>
The application-level cartridges (e.g. Tomcat, Postgres) don’t expose the httpd configuration directly so its not really possible to shibbolize at that level.<br>
<br>
It is possible to create a minimal “DIY” cartridge with your own Httpd setup, the only restriction being that it runs for a user rather than as root in a RHEL system - that may be a bit of an issue as I think the Shib SP assumes you’re running httpd as root.<br>
<br>
If that works, then an option may be to create an SP proxy running in one gear using the “DIY” setup, and use that to provide the auth for all of my application gears, which then use a standard cartridge setup.<br>
<br>
Out of interest, are there any other PaaS implementations of Shib around?<br>
<br>
> Is Atomic mandated for OpenShift? Then probably using rpm-ostree?<br>
<br>
Not sure tbh!<br>
<br>
><br>
> Not sure how well httpd and Shib fit into that "application-centric IT<br>
> architecture" (from the Project Atomic description), if that in fact<br>
> were to stick around.<br>
> -peter<br>
> --<br>
> To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
<br>
<br>--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br></blockquote></div>