<div dir="ltr">By the way, do you have further information regarding that SPI you mentioned?<div><br></div><div>I was looking at the source code but I couldn&#39;t derive much from it, I don&#39;t know exactly how I should implement my own provider, and how do I tell keycloak to use mine instead of its own.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 15, 2014 at 11:05 AM, Rodrigo Sasaki <span dir="ltr">&lt;<a href="mailto:rodrigopsasaki@gmail.com" target="_blank">rodrigopsasaki@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">That&#39;s quite alright at the moment.<div><br></div><div>We have seen the roadmap and if it stays around the announced dates, there shouldn&#39;t be a problem for us here.</div>
</div><div class="gmail_extra"><div><div class="h5">
<br><br><div class="gmail_quote">On Thu, May 15, 2014 at 11:03 AM, Bill Burke <span dir="ltr">&lt;<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

FYI, Keycloak will be very slow until we start our performance work<br>
(scheduled for Beta-2).  Right now, every login/logout/token action is<br>
all DB hits.  We don&#39;t cache anything at the moment!<br>
<div><br>
On 5/15/2014 7:02 AM, Rodrigo Sasaki wrote:<br>
&gt; I am very interested in importing the whole database. It seems to be the<br>
&gt; cleanest way to do what we want to do here, and migrate to keycloak<br>
&gt; completely.<br>
&gt;<br>
&gt; Are there any guidelines on how to do this? Nonetheless I will look into<br>
&gt; the SPI you mentioned, might come in handy sometime.<br>
&gt;<br>
&gt;<br>
&gt; On Thu, May 15, 2014 at 5:13 AM, Stian Thorgersen &lt;<a href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a><br>
</div><div>&gt; &lt;mailto:<a href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     At the moment we have an Authentication SPI that will let you easily<br>
&gt;     authenticate users with your existing database of users. The first<br>
&gt;     time a new user logs in using this approach a user will be pulled in<br>
&gt;     to the Keycloak database. There&#39;s no documentation for this feature<br>
&gt;     yet, but look at the SPI at<br>
&gt;     <a href="https://github.com/keycloak/keycloak/tree/master/authentication/authentication-api" target="_blank">https://github.com/keycloak/keycloak/tree/master/authentication/authentication-api</a><br>
&gt;     and the implementation that uses the Keycloak model itself to<br>
&gt;     authenticate at<br>
&gt;     <a href="https://github.com/keycloak/keycloak/tree/master/authentication/authentication-model" target="_blank">https://github.com/keycloak/keycloak/tree/master/authentication/authentication-model</a>.<br>
&gt;<br>
&gt;     In the future we plan to provide a Sync SPI that will take this one<br>
&gt;     step further and let you sync users (and roles) to/from an existing<br>
&gt;     database.<br>
&gt;<br>
&gt;     However, if you plan to completely replace your current<br>
&gt;     authentication system the cleanest solution may be to import your<br>
&gt;     current user database into Keycloak once and for all. If you&#39;re<br>
&gt;     interested in this approach let me know.<br>
&gt;<br>
&gt;     ----- Original Message -----<br>
&gt;      &gt; From: &quot;Rodrigo Sasaki&quot; &lt;<a href="mailto:rodrigopsasaki@gmail.com" target="_blank">rodrigopsasaki@gmail.com</a><br>
</div><div>&gt;     &lt;mailto:<a href="mailto:rodrigopsasaki@gmail.com" target="_blank">rodrigopsasaki@gmail.com</a>&gt;&gt;<br>
&gt;      &gt; To: <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
&gt;     &lt;mailto:<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>&gt;<br>
&gt;      &gt; Sent: Wednesday, 14 May, 2014 8:52:07 PM<br>
&gt;      &gt; Subject: [keycloak-user] Migrating Users Database<br>
&gt;      &gt;<br>
&gt;      &gt; Hi,<br>
&gt;      &gt;<br>
&gt;      &gt; I&#39;m trying to replace my current authentication system with<br>
&gt;     Keycloak, but I<br>
&gt;      &gt; have one problem. I already have a database of users, populated with<br>
&gt;      &gt; millions of records, and I wanted to make it work with Keycloak.<br>
&gt;      &gt;<br>
&gt;      &gt; What would be the best approach on this scenario? Should I<br>
&gt;     migrate everything<br>
&gt;      &gt; to the Keycloak tables, or try to make Keycloak understand my current<br>
&gt;      &gt; database?<br>
&gt;      &gt;<br>
&gt;      &gt; Is there any recommendation on this matter? And if there is, some<br>
&gt;     explanation<br>
&gt;      &gt; or documentation?<br>
&gt;      &gt;<br>
&gt;      &gt; Thanks!<br>
&gt;      &gt;<br>
&gt;      &gt; --<br>
&gt;      &gt; Rodrigo Sasaki<br>
&gt;      &gt;<br>
&gt;      &gt; _______________________________________________<br>
&gt;      &gt; keycloak-user mailing list<br>
</div>&gt;      &gt; <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a> &lt;mailto:<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>&gt;<br>

<div>&gt;      &gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Rodrigo Sasaki<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; keycloak-user mailing list<br>
&gt; <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
&gt;<br>
<br>
--<br>
</div><span><font color="#888888">Bill Burke<br>
JBoss, a division of Red Hat<br>
<a href="http://bill.burkecentral.com" target="_blank">http://bill.burkecentral.com</a><br>
</font></span><div><div>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div dir="ltr"><font face="Times New Roman">Rodrigo Sasaki</font><div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font face="Times New Roman">Rodrigo Sasaki</font><div></div></div>
</div>