<div dir="ltr">We will try to get it in, no promises though.</div><div class="gmail_extra"><br><div class="gmail_quote">On 23 March 2016 at 15:38, Guus der Kinderen <span dir="ltr">&lt;<a href="mailto:guus.der.kinderen@gmail.com" target="_blank">guus.der.kinderen@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">Meh, that&#39;s not very appealing. We&#39;re on somewhat of a deadline, and do expect huge numbers of users. Iterating over all of them, simply to get their count, isn&#39;t going to be a viable solution. I&#39;d really like to avoid local caching. Can I somehow convince you to not see this as a new feature, but rather an improvement slash bugfix for a missing attribute exposure? :)</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 23 March 2016 at 16:35, Stian Thorgersen <span dir="ltr">&lt;<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@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"><p dir="ltr">First 2.x release is probably July/August.</p>
<p dir="ltr">Admin rest endpoints will be backwards compatible, but we are discussing at some point to introduce a v2. In this case v1 would be kept for at least a while.</p>
<p dir="ltr">The Java admin client library will be completely rewritten at some point.</p><div><div>
<div class="gmail_quote">On 23 Mar 2016 15:30, &quot;Guus der Kinderen&quot; &lt;<a href="mailto:guus.der.kinderen@gmail.com" target="_blank">guus.der.kinderen@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Understood. Although out-of-scope of this question and I-hate-when-they-ask-me-for-my-projects: when it 2.x available? :) <div><br></div><div>Also - we just started work on integration, based on 1.9 - will 2.0 be API compatible?<div><br></div><div> - Guus</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 March 2016 at 16:28, Stian Thorgersen <span dir="ltr">&lt;<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@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"><p dir="ltr">Thanks for the awesome comment.</p>
<p dir="ltr">We&#39;re actually planning to add a count to our console, so this will be added. Just wanted to point out that we&#39;re not adding more features to 1.9.x at this point so this won&#39;t be available until 2.x.</p><div><div>
<div class="gmail_quote">On 23 Mar 2016 14:09, &quot;Guus der Kinderen&quot; &lt;<a href="mailto:guus.der.kinderen@gmail.com" target="_blank">guus.der.kinderen@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for your fast response! I created <a href="https://issues.jboss.org/browse/KEYCLOAK-2704" target="_blank">https://issues.jboss.org/browse/KEYCLOAK-2704</a> to track the getUsersCount() REST exposure.<div><br></div><div> - Guus</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 March 2016 at 14:52, Marek Posolda <span dir="ltr">&lt;<a href="mailto:mposolda@redhat.com" target="_blank">mposolda@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">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><span>
    <div>On 23/03/16 10:30, Guus der Kinderen
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi there,
        <div><br>
        </div>
        <div>Recently, I switched from WSO2 Identity Server to Keycloak,
          and all of a sudden, the sun is shining a bit brighter, birds
          are singing cheerful songs, and I&#39;m pretty sure I just saw a
          unicorn pass by, leaving multi-colored droppings. Thanks!</div>
      </div>
    </blockquote></span>
    Nice summary, we should put to our homepage <span><span> :-) </span></span><br><span>
    <blockquote type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>That being said, I&#39;m still pretty new, and could use some
          help. I&#39;ll probably have more questions like these pretty
          soon. Is there a instant messaging based channel (IRC, XMPP?)
          where you guys hang out? For the entry-level questions that I
          have, that might be more suitable.</div>
      </div>
    </blockquote></span>
    We have #keycloak on freenode, but using keycloak-user mailing list
    is better as not all members are on IRC and asynchronous channel is
    preferred.<span><br>
    <blockquote type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>In any case: my first question: We&#39;re using keycloak to
          form the user base of our existing product. Integration is
          going well, but I&#39;m running into a snag: the existing product
          has a paged user overview - much like the keycloak
          administrative interface. However, unlike the keycloak
          interface, I need to be able to calculate the exact amount of
          pages (keycloak resorts to having a &#39;next page&#39; button only, I
          need to explicitly provide references to every page).</div>
        <div><br>
        </div>
        <div>To be able to integrate, I need to find a way to retrieve
          the total number of users for a particular realm. So far, I&#39;m
          retrieving all users to be able to count them, which quite
          obviously defeats the purpose of having a paginated call in
          the first place. Is there a better way than keycloak.realm(
          &quot;myRealm&quot; ).users().search( null, null, null ).size() ?</div>
      </div>
    </blockquote></span>
    We have model method for getUsersCount(), but looks we don&#39;t have it
    exposed through admin REST endpoint. Feel free to create JIRA.<br>
    <br>
    Marek<br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>Kind regards,</div>
        <div><br>
        </div>
        <div>  Guus</div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
keycloak-user mailing list
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></div>
<br>_______________________________________________<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" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div>
</div></div></blockquote></div><br></div>
</blockquote></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>