<div dir="ltr">Hi,<div><br></div><div>I&#39;m the creator of pac4j and we would be happy to receive a new contribution.</div><div><br></div><div>I don&#39;t know Keycloak, but the only &quot;constraint&quot; is that it respects more or less the general flow : redirect the user to the provider, authentication, be redirected back to the application, retrieve the user profile...</div>
<div><br></div><div>The main advantage of integrating Keycloak into pac4j is that it would become available subsequently in:</div><div>- any J2E application</div><div>- any Shiro application</div><div>- any Spring Security application</div>
<div>- any Play application</div><div>- the CAS server</div><div>- any Ratpack application</div><div>- any Vertx application (soon I hope)</div><div>- any Undertow application (soon I hope).</div><div><br></div><div>Open a discussion on the pac4j-dev mailing list: <a href="https://groups.google.com/forum/?fromgroups#!forum/pac4j-dev">https://groups.google.com/forum/?fromgroups#!forum/pac4j-dev</a> or send a pull request to: <a href="https://github.com/leleuj/pac4j.">https://github.com/leleuj/pac4j.</a>..</div>
<div><br></div><div>Thanks.</div><div>Best regards,</div><div>Jérôme</div><div><br></div><div><div class="gmail_extra"><br><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div class="gmail_quote">---------- Message transféré ----------<br>De : &quot;Bill Burke&quot; &lt;<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>&gt;<br>Date : 12 mai 2014 17:39<br>Objet : Re: [undertow-dev] CAS / OAuth / OpenID / HTTP / SAML client protocol support?<br>

À :  &lt;<a href="mailto:undertow-dev@lists.jboss.org" target="_blank">undertow-dev@lists.jboss.org</a>&gt;<br>Cc : <br><br type="attribution">If I wrote a pac4j module for Keycloak [1], it could be accepted and<br>
distributed with pac4j?<br>
<br>
[1] <a href="http://keycloak.org" target="_blank">http://keycloak.org</a><br>
<br>
<br>
On 5/12/2014 11:32 AM, Michaël REMOND wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I currently contribute to a Java library from Jerome Leleu, able to<br>
&gt; protect applications and delegate authentications to various identity<br>
&gt; providers. It currently supports 5 different protocols: CAS, OAuth,<br>
&gt; OpenID, HTTP and SAML and 18 identity providers (Facebook, Twitter,<br>
&gt; Google, Yahoo...) through a very simple and unified API accross<br>
&gt; protocols/JVM frameworks: <a href="https://github.com/leleuj/pac4j" target="_blank">https://github.com/leleuj/pac4j</a>.<br>
&gt;<br>
&gt; The pac4j librairies are used in various JVM frameworks with the<br>
&gt; appropriate implementations: Spring Security, Shiro, CAS, J2E and Play.<br>
&gt; Although the core pac4j librairies gathers &quot;a lot of&quot; code (300 classes,<br>
&gt; 26000 lines of source code), the implementations to specific JVM<br>
&gt; frameworks are pretty straigtforward: from 4 classes for Spring Security<br>
&gt; to 11 classes for Play Framework 2.x.<br>
&gt;<br>
&gt; We are currently targeting new plateforms and especially async one; we<br>
&gt; got an implementation from ratpack (<a href="http://www.ratpack.io/" target="_blank">http://www.ratpack.io/</a>) and we<br>
&gt; discussed also with the guys from vert.x. They gave us some ideas in<br>
&gt; order to improve our library by becoming more &quot;reactive&quot;.<br>
&gt;<br>
&gt; I think that pac4j could be helpful for the Undertow community too by<br>
&gt; bringing client multi-protocols support.<br>
&gt;<br>
&gt; I looked at the security model from Undertow and I start to think about<br>
&gt; a possible integration by developing a &quot;Pac4jAuthenticationMechanism&quot;.<br>
&gt;<br>
&gt; What do you think about such development? Are you interested in a demo<br>
&gt; app showing how this could work? Do you have suggestions?<br>
&gt;<br>
&gt; Thanks.<br>
&gt; Best regards,<br>
&gt; Michael Remond<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; undertow-dev mailing list<br>
&gt; <a href="mailto:undertow-dev@lists.jboss.org" target="_blank">undertow-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/undertow-dev</a><br>
&gt;<br>
<br>
--<br>
Bill Burke<br>
JBoss, a division of Red Hat<br>
<a href="http://bill.burkecentral.com" target="_blank">http://bill.burkecentral.com</a><br>
_______________________________________________<br>
undertow-dev mailing list<br>
<a href="mailto:undertow-dev@lists.jboss.org" target="_blank">undertow-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/undertow-dev</a><br>
</div>
</blockquote></div><br></div></div></div>