On 23/03/16 10:30, Guus der Kinderen wrote:
Hi there,
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'm pretty sure I just saw a unicorn pass by,
leaving multi-colored droppings. Thanks!
Nice summary, we should put to our
homepage :-)
That being said, I'm still pretty new, and could use some help. I'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.
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.
In any case: my first question: We're using keycloak to form the user
base of our existing product. Integration is going well, but I'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 'next page' button only, I need to
explicitly provide references to every page).
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'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( "myRealm" ).users().search( null,
null, null ).size() ?
We have model method for getUsersCount(), but looks we
don't have it
exposed through admin REST endpoint. Feel free to create JIRA.
Marek
Kind regards,
Guus
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user