<div dir="ltr">Hi,<div><br></div><div>I'm the creator of pac4j and we would be happy to receive a new contribution.</div><div><br></div><div>I don't know Keycloak, but the only "constraint" 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 : "Bill Burke" <<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>><br>Date : 12 mai 2014 17:39<br>Objet : Re: [undertow-dev] CAS / OAuth / OpenID / HTTP / SAML client protocol support?<br>
À : <<a href="mailto:undertow-dev@lists.jboss.org" target="_blank">undertow-dev@lists.jboss.org</a>><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>
> Hi,<br>
><br>
> I currently contribute to a Java library from Jerome Leleu, able to<br>
> protect applications and delegate authentications to various identity<br>
> providers. It currently supports 5 different protocols: CAS, OAuth,<br>
> OpenID, HTTP and SAML and 18 identity providers (Facebook, Twitter,<br>
> Google, Yahoo...) through a very simple and unified API accross<br>
> protocols/JVM frameworks: <a href="https://github.com/leleuj/pac4j" target="_blank">https://github.com/leleuj/pac4j</a>.<br>
><br>
> The pac4j librairies are used in various JVM frameworks with the<br>
> appropriate implementations: Spring Security, Shiro, CAS, J2E and Play.<br>
> Although the core pac4j librairies gathers "a lot of" code (300 classes,<br>
> 26000 lines of source code), the implementations to specific JVM<br>
> frameworks are pretty straigtforward: from 4 classes for Spring Security<br>
> to 11 classes for Play Framework 2.x.<br>
><br>
> We are currently targeting new plateforms and especially async one; we<br>
> got an implementation from ratpack (<a href="http://www.ratpack.io/" target="_blank">http://www.ratpack.io/</a>) and we<br>
> discussed also with the guys from vert.x. They gave us some ideas in<br>
> order to improve our library by becoming more "reactive".<br>
><br>
> I think that pac4j could be helpful for the Undertow community too by<br>
> bringing client multi-protocols support.<br>
><br>
> I looked at the security model from Undertow and I start to think about<br>
> a possible integration by developing a "Pac4jAuthenticationMechanism".<br>
><br>
> What do you think about such development? Are you interested in a demo<br>
> app showing how this could work? Do you have suggestions?<br>
><br>
> Thanks.<br>
> Best regards,<br>
> Michael Remond<br>
><br>
><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>
><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>