<div dir="ltr">Hi Stian, thanks for the quick reply! That sounds good, lack of backwards compatibility goes without saying :) So is the bootstrapping done in org.keycloak.services.resources.KeycloakApplication the right place to look at?<div>
<br></div><div>Cheers,</div><div>Nils<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 15, 2014 at 10:30 AM, Stian Thorgersen <span dir="ltr">&lt;<a href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>&gt;</span> wrote:<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">At some point we&#39;ll add a Java and REST api&#39;s for user management. This will also include being able to register listeners for user events (for example user created, user deleted, etc).<br>


<br>
In the mean time I don&#39;t see any issues with using keycloak-model-jpa directly, especially not for read only. This API will quite likely change between versions, and we won&#39;t support any backwards compatibility. The &quot;official&quot; user management API once it&#39;s ready will be more stable, but I&#39;m not sure when we&#39;ll have time to implement that.<br>


<div><div><br>
----- Original Message -----<br>
&gt; From: &quot;Nils Preusker&quot; &lt;<a href="mailto:n.preusker@gmail.com" target="_blank">n.preusker@gmail.com</a>&gt;<br>
&gt; To: <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
&gt; Sent: Tuesday, 15 April, 2014 9:22:44 AM<br>
&gt; Subject: [keycloak-user] Sharing users<br>
&gt;<br>
&gt; Hi, I have a question regarding user management and sharing access to the<br>
&gt; keycloak database between applications.<br>
&gt;<br>
&gt; While the keycloak admin console can be used to manage users, other<br>
&gt; applications may also need to access the user database. Is there a<br>
&gt; recommended way of accomplishing this?<br>
&gt;<br>
&gt; I&#39;ve been experimenting with adding keycloak-model-jpa to my .war as a<br>
&gt; dependency and looking at the bootstrapping in<br>
&gt; org.keycloak.services.resources.KeycloakApplication. However, I wasn&#39;t able<br>
&gt; to get it to work yet and have the feeling that I might be going the wrong<br>
&gt; way here.<br>
&gt;<br>
&gt; Any hints?<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Nils<br>
&gt;<br>
</div></div>&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>
</blockquote></div><br></div></div></div>