[keycloak-user] Find by email not working?

Rodrigo Sasaki rodrigopsasaki at gmail.com
Mon Sep 1 14:29:53 EDT 2014


Done. https://issues.jboss.org/browse/KEYCLOAK-658


On Mon, Sep 1, 2014 at 2:19 PM, Bill Burke <bburke at redhat.com> wrote:

> log a jira.
>
> On 9/1/2014 12:40 PM, Rodrigo Sasaki wrote:
> > I believe I have found the problem. If I don't send a *max* query param,
> > it is set as -1, and by having that value it stops the execution of the
> > /query/ method inside /UserFederationManager/ class so it doesn't return
> > any value.
> >
> > If I send a value on *max* I get a return, but it comes duplicated, I
> > receive a JSON that has the same user twice. I was looking inside the
> > method /getUsers/ inside the /UsersResource/ class and it executes the
> > same for loop twice, adding the same userModel to the results list.
> >
> > should the inner for loop exist?
> >
> >
> > On Mon, Sep 1, 2014 at 11:10 AM, Rodrigo Sasaki
> > <rodrigopsasaki at gmail.com <mailto:rodrigopsasaki at gmail.com>> wrote:
> >
> >     Hello,
> >
> >     I have a method in my project that finds users by e-mail using the
> >     REST API on
> >
> >     */realms/{realm}/users?email=...*
> >     *
> >     *
> >     It used to work fine, but I upgrated to RC1 and it stopped working,
> >     I tried debugging it but it doesn't seem to stop on my breakpoint
> >     inside the /JpaUserProvider/ class.
> >
> >     It simply returns nothing, with valid calls and a valid e-mail that
> >     I know exists.
> >
> >     Is this a known bug?
> >
> >     --
> >     Rodrigo Sasaki
> >
> >
> >
> >
> > --
> > Rodrigo Sasaki
> >
> >
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
> >
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>



-- 
Rodrigo Sasaki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20140901/7f67c060/attachment.html 


More information about the keycloak-user mailing list