<div dir="ltr">The thing is that I simply create an instance and assign an username<div><br></div><div><font face="courier new, monospace">UserRepresentation userRep = new UserRepresentation();</font></div><div><font face="courier new, monospace">userRep.setUsername("user1");</font></div>
<div><font face="courier new, monospace">realm.users().create(userRep);</font></div><div><br></div><div>That create is a proxy of the interface, so I don't really know where I could interfere here with code.</div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 22, 2014 at 10:58 AM, Stian Thorgersen <span dir="ltr"><<a href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Try removing socialLinks instead of setting the value to null, or specifying an empty array.<br>
<div class="im HOEnZb"><br>
----- Original Message -----<br>
> From: "Rodrigo Sasaki" <<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>><br>
</div><div class="HOEnZb"><div class="h5">> To: "Bill Burke" <<a href="mailto:bburke@redhat.com">bburke@redhat.com</a>><br>
> Cc: "Stian Thorgersen" <<a href="mailto:stian@redhat.com">stian@redhat.com</a>>, <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> Sent: Tuesday, 22 July, 2014 2:54:49 PM<br>
> Subject: Re: [keycloak-user] Java Keycloak REST API Wrapper<br>
><br>
> I tried creating a user using the API, and I got a 400 status code, I went<br>
> to check everything, and it seems that I can't send "socialLinks",<br>
> "realmRoles" and "applicationRoles" as null for some reason, I get this<br>
> exception:<br>
><br>
> org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized<br>
> field "socialLinks"<br>
> (Class org.keycloak.representations.idm.UserRepresentation), not marked<br>
> as ignorable<br>
><br>
> But I know those values aren't mandatory. Is there a fix for this?<br>
><br>
><br>
> On Fri, Jul 18, 2014 at 1:37 PM, Bill Burke <<a href="mailto:bburke@redhat.com">bburke@redhat.com</a>> wrote:<br>
><br>
> > String token = getToken();<br>
> > final String authHeader = "Bearer " + token;<br>
> > ClientRequestFilter authFilter = new ClientRequestFilter() {<br>
> > @Override<br>
> > public void filter(ClientRequestContext requestContext) throws<br>
> > IOException {<br>
> ><br>
> > requestContext.getHeaders().add(HttpHeaders.AUTHORIZATION, authHeader);<br>
> ><br>
> > }<br>
> > };<br>
> ><br>
> ><br>
> > ResteasyWebTarget target = client.target("<a href="http://localhost:8080/auth" target="_blank">http://localhost:8080/auth</a>");<br>
> > target.register(authFilter);<br>
> > Admin admin = target.proxy(Admin.class);<br>
> ><br>
> ><br>
> ><br>
> > On 7/18/2014 12:26 PM, Rodrigo Sasaki wrote:<br>
> ><br>
> >> Can you help me with any hint or documentation regarding that<br>
> >> BearerTokenFilter implementation?<br>
> >><br>
> >> I understand that I have to create it myself, but I don't know what I<br>
> >> should create. I tried browsing the web, but with no success.. Perhaps<br>
> >> I'm missing the right keyword to find what I need<br>
> >><br>
> >><br>
> >> On Thu, Jul 17, 2014 at 6:36 PM, Rodrigo Sasaki<br>
> >> <<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a> <mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>>> wrote:<br>
> >><br>
> >> That's perfect :) thanks for the help<br>
> >><br>
> >> I'll get started on it as soon as I can<br>
> >><br>
> >> On Jul 17, 2014 5:55 PM, "Bill Burke" <<a href="mailto:bburke@redhat.com">bburke@redhat.com</a><br>
> >> <mailto:<a href="mailto:bburke@redhat.com">bburke@redhat.com</a>>> wrote:<br>
> >><br>
> >> @Path("/admin<br>
> >> public interface Admin {<br>
> >> @Path("realms/{realm}")<br>
> >> Realm realm(@PathParameter("realm") realmName);<br>
> >> }<br>
> >><br>
> >> public interface Realm {<br>
> >> @GET<br>
> >> @Produces("application/json")<br>
> >> RealmRepresentation get();<br>
> >><br>
> >> @DELETE<br>
> >> void delete();<br>
> >><br>
> >> @PUT<br>
> >> @Consumes("application/json")<br>
> >> void update(RealmRepresentation rep);<br>
> >><br>
> >> @Path("users")<br>
> >> Users users();<br>
> >> }<br>
> >><br>
> >> public interface Users {<br>
> >> ...<br>
> >> }<br>
> >><br>
> >> FOllow me?<br>
> >><br>
> >> Then its just<br>
> >><br>
> >> ResteasyClient client = new ResteasyClientBuilder().build(__);<br>
> >> ResteasyWebTarget target =<br>
> >> client.target("http://__localhost:8080/auth<br>
> >><br>
> >> <<a href="http://localhost:8080/auth" target="_blank">http://localhost:8080/auth</a>>");<br>
> >><br>
> >> String token = ... get a token ...<br>
> >><br>
> >> target.register(new BearerTokenFilter(token)); // you'd have to<br>
> >> implement this<br>
> >><br>
> >> Admin admin = target.proxy(Admin.class);<br>
> >><br>
> >> admin.realm("master")<br>
> >><br>
> >> That's about as much help I can give you right now.<br>
> >><br>
> >><br>
> >><br>
> >><br>
> >> On 7/17/2014 11:18 AM, Rodrigo Sasaki wrote:<br>
> >><br>
> >> OK, will do.<br>
> >><br>
> >> Is there a way for me to do it like it is there? I'll<br>
> >> explain a little<br>
> >> better<br>
> >><br>
> >> the class *AdminRoot* has the path set to "/admin", and it<br>
> >> has a method<br>
> >> getRealmsAdmin, with "realms" on the path, and on the<br>
> >> *RealmsAdminResource* there's the getRealmAdmin mapped to<br>
> >> "{realm}",<br>
> >> making the full path for it "/admin/realms/{realm}", even<br>
> >> though each<br>
> >> one is in a different class.<br>
> >><br>
> >> Is there a way for me to do it the same way, I don't know<br>
> >> how the Proxy<br>
> >> framework would understand that, maybe I would have to set<br>
> >> the full path<br>
> >><br>
> >><br>
> >> On Thu, Jul 17, 2014 at 12:11 PM, Stian Thorgersen<br>
> >> <<a href="mailto:stian@redhat.com">stian@redhat.com</a> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>><br>
> >> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>>>> wrote:<br>
> >><br>
> >> Rodrigo: just create your own interfaces. If you can<br>
> >> try to keep<br>
> >> them as consistent with jax-rs classes in services as<br>
> >> you can that<br>
> >> would be great.<br>
> >><br>
> >> ----- Original Message -----<br>
> >> > From: "Stian Thorgersen" <<a href="mailto:stian@redhat.com">stian@redhat.com</a><br>
> >> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a><br>
> >> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>>>><br>
> >> > To: "Rodrigo Sasaki" <<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a><br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>><br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.">rodrigopsasaki@gmail.</a>__com<br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>>>>, "Bill Burke"<br>
> >> <<a href="mailto:bburke@redhat.com">bburke@redhat.com</a> <mailto:<a href="mailto:bburke@redhat.com">bburke@redhat.com</a>><br>
> >> <mailto:<a href="mailto:bburke@redhat.com">bburke@redhat.com</a> <mailto:<a href="mailto:bburke@redhat.com">bburke@redhat.com</a>>>><br>
> >> > Cc: <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.">keycloak-user@lists.</a>__<a href="http://jboss.org" target="_blank">jboss.org</a><br>
> >><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>>><br>
> >> > Sent: Wednesday, 16 July, 2014 2:34:44 PM<br>
> >> > Subject: Re: [keycloak-user] Java Keycloak REST API<br>
> >> Wrapper<br>
> >> ><br>
> >> > Bill: does it make sense for us to share interfaces<br>
> >> (with jax-rs<br>
> >> annotations)<br>
> >> > for services and admin-client?<br>
> >> ><br>
> >> > ----- Original Message -----<br>
> >> > > From: "Rodrigo Sasaki" <<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a><br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>><br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.">rodrigopsasaki@gmail.</a>__com<br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>>>><br>
> >> > > To: "Stian Thorgersen" <<a href="mailto:stian@redhat.com">stian@redhat.com</a><br>
> >> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a><br>
> >> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>>>><br>
> >> > > Cc: "Juraci Paixão Kröhling" <<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a><br>
> >> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a>><br>
> >> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a><br>
> >> >>>,<br>
> >> > > <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.">keycloak-user@lists.</a>__<a href="http://jboss.org" target="_blank">jboss.org</a><br>
> >><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>>><br>
> >> > > Sent: Wednesday, 16 July, 2014 2:31:35 PM<br>
> >> > > Subject: Re: [keycloak-user] Java Keycloak REST<br>
> >> API Wrapper<br>
> >> > ><br>
> >> > > I'll get on it for sure.<br>
> >> > ><br>
> >> > > Just one thing, should I create myself the<br>
> >> interfaces for the<br>
> >> services? Or<br>
> >> > > is there a more integrated way to do that?<br>
> >> > ><br>
> >> > ><br>
> >> > > On Wed, Jul 16, 2014 at 10:27 AM, Stian Thorgersen<br>
> >> <<a href="mailto:stian@redhat.com">stian@redhat.com</a> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>><br>
> >> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>>>><br>
> >><br>
> >> > > wrote:<br>
> >> > ><br>
> >> > > > Great work with the admin-client. As I commented<br>
> >> on GitHub I<br>
> >> added it to<br>
> >> > > > 'admin-client' branch, and would like a few<br>
> >> changes before<br>
> >> merging to<br>
> >> > > > master:<br>
> >> > > ><br>
> >> > > > * Make it use RestEasy client framwork<br>
> >> > > > * Tests - I've added a starting point to<br>
> >> > > ><br>
> >> <a href="https://github.com/keycloak/__keycloak/blob/admin-client/__" target="_blank">https://github.com/keycloak/__keycloak/blob/admin-client/__</a><br>
> >> testsuite/integration/src/__test/java/org/keycloak/__testsuite/admin/__<br>
> >> AdminClientTest.java<br>
> >><br>
> >> <<a href="https://github.com/keycloak/keycloak/blob/admin-client/" target="_blank">https://github.com/keycloak/keycloak/blob/admin-client/</a><br>
> >> testsuite/integration/src/test/java/org/keycloak/testsuite/admin/<br>
> >> AdminClientTest.java><br>
> >> > > > * Better error handling - instead of swallowing<br>
> >> exceptions it<br>
> >> now throws<br>
> >> > > > KeycloakException (RuntimeException), but<br>
> >> there's HTTP<br>
> >> response codes are<br>
> >> > > > not checked (see above test that tries to create<br>
> >> two users<br>
> >> with the same<br>
> >> > > > username)<br>
> >> > > ><br>
> >> > > > If you're happy to do this work that would be<br>
> >> awesome!<br>
> >> > > ><br>
> >> > > > ----- Original Message -----<br>
> >> > > > > From: "Rodrigo Sasaki"<br>
> >> <<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a> <mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>><br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.">rodrigopsasaki@gmail.</a>__com<br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>>>><br>
> >> > > > > To: "Stian Thorgersen" <<a href="mailto:stian@redhat.com">stian@redhat.com</a><br>
> >> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>><br>
> >> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>>>><br>
> >> > > > > Cc: "Juraci Paixão Kröhling"<br>
> >> <<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a>><br>
> >> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a><br>
> >> >>>,<br>
> >> > > > <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.">keycloak-user@lists.</a>__<a href="http://jboss.org" target="_blank">jboss.org</a><br>
> >><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>>><br>
> >> > > > > Sent: Monday, 14 July, 2014 2:44:48 PM<br>
> >> > > > > Subject: Re: [keycloak-user] Java Keycloak<br>
> >> REST API Wrapper<br>
> >> > > > ><br>
> >> > > > > Glad to hear it :)<br>
> >> > > > ><br>
> >> > > > > I'll be waiting on more replies and ideas to<br>
> >> perhaps make<br>
> >> it better.<br>
> >> > > > > Thanks! :)<br>
> >> > > > ><br>
> >> > > > ><br>
> >> > > > > On Mon, Jul 14, 2014 at 10:43 AM, Stian<br>
> >> Thorgersen<br>
> >> <<a href="mailto:stian@redhat.com">stian@redhat.com</a> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>><br>
> >> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>>>><br>
> >><br>
> >> > > > wrote:<br>
> >> > > > ><br>
> >> > > > > > Great stuff, I'll have a look at it soon. At<br>
> >> first glance<br>
> >> it looks<br>
> >> > > > really<br>
> >> > > > > > good!<br>
> >> > > > > ><br>
> >> > > > > > Thanks :)<br>
> >> > > > > ><br>
> >> > > > > > ----- Original Message -----<br>
> >> > > > > > > From: "Rodrigo Sasaki"<br>
> >> <<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a> <mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>><br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.">rodrigopsasaki@gmail.</a>__com<br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>>>><br>
> >> > > > > > > To: "Stian Thorgersen" <<a href="mailto:stian@redhat.com">stian@redhat.com</a><br>
> >> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>><br>
> >> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>>>><br>
> >> > > > > > > Cc: "Juraci Paixão Kröhling"<br>
> >> <<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a>><br>
> >> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a><br>
> >> >>>,<br>
> >> > > > > > <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.">keycloak-user@lists.</a>__<a href="http://jboss.org" target="_blank">jboss.org</a><br>
> >><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>>><br>
> >> > > > > > > Sent: Monday, 14 July, 2014 2:40:17 PM<br>
> >> > > > > > > Subject: Re: [keycloak-user] Java Keycloak<br>
> >> REST API Wrapper<br>
> >> > > > > > ><br>
> >> > > > > > > PR submitted :)<br>
> >> > > > > > ><br>
> >> > > > > > ><br>
> >> > > > > > > On Fri, Jul 11, 2014 at 9:56 AM, Stian<br>
> >> Thorgersen<br>
> >> > > > > > > <<a href="mailto:stian@redhat.com">stian@redhat.com</a><br>
> >> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a><br>
> >><br>
> >> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>>>><br>
> >> > > > > > wrote:<br>
> >> > > > > > ><br>
> >> > > > > > > > Please change package names to<br>
> >> 'org.keycloak.admin.client'<br>
> >> > > > > > > ><br>
> >> > > > > > > > ----- Original Message -----<br>
> >> > > > > > > > > From: "Rodrigo Sasaki"<br>
> >> <<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a> <mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>><br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.">rodrigopsasaki@gmail.</a>__com<br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>>>><br>
> >> > > > > > > > > To: "Stian Thorgersen"<br>
> >> <<a href="mailto:stian@redhat.com">stian@redhat.com</a> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>><br>
> >> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>>>><br>
> >> > > > > > > > > Cc: "Juraci Paixão Kröhling"<br>
> >> <<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a>><br>
> >> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a><br>
> >> >>>,<br>
> >> > > > > > > > <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.">keycloak-user@lists.</a>__<a href="http://jboss.org" target="_blank">jboss.org</a><br>
> >><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>>><br>
> >> > > > > > > > > Sent: Friday, 11 July, 2014 1:51:41 PM<br>
> >> > > > > > > > > Subject: Re: [keycloak-user] Java<br>
> >> Keycloak REST API<br>
> >> Wrapper<br>
> >> > > > > > > > ><br>
> >> > > > > > > > > Just one more question, I created it<br>
> >> with my<br>
> >> companies' name in<br>
> >> > > > the<br>
> >> > > > > > > > > package, should I replace it? Or just<br>
> >> upload it as is?<br>
> >> > > > > > > > ><br>
> >> > > > > > > > > It's br.com.icarros.keycloak.api<br>
> >> > > > > > > > ><br>
> >> > > > > > > > ><br>
> >> > > > > > > > ><br>
> >> > > > > > > > ><br>
> >> > > > > > > > > On Fri, Jul 11, 2014 at 4:13 AM, Stian<br>
> >> Thorgersen <<br>
> >> > > > <a href="mailto:stian@redhat.com">stian@redhat.com</a> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>><br>
> >> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>>>><br>
> >><br>
> >> > > > > > > > wrote:<br>
> >> > > > > > > > ><br>
> >> > > > > > > > > > You can create a new module for it in:<br>
> >> > > > > > > > > ><br>
> >> > > > > > > > > > integration/admin-client<br>
> >> > > > > > > > > ><br>
> >> > > > > > > > > > ----- Original Message -----<br>
> >> > > > > > > > > > > From: "Rodrigo Sasaki"<br>
> >> <<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a><br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>><br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.">rodrigopsasaki@gmail.</a>__com<br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>>>><br>
> >> > > > > > > > > > > To: "Stian Thorgersen"<br>
> >> <<a href="mailto:stian@redhat.com">stian@redhat.com</a> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>><br>
> >> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>>>><br>
> >> > > > > > > > > > > Cc: "Juraci Paixão Kröhling"<br>
> >> <<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a>><br>
> >> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a>>>>,<br>
> >> > > > > > > > > > <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.">keycloak-user@lists.</a>__<a href="http://jboss.org" target="_blank">jboss.org</a><br>
> >><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>>><br>
> >> > > > > > > > > > > Sent: Thursday, 10 July, 2014<br>
> >> 8:50:00 PM<br>
> >> > > > > > > > > > > Subject: Re: [keycloak-user] Java<br>
> >> Keycloak REST<br>
> >> API Wrapper<br>
> >> > > > > > > > > > ><br>
> >> > > > > > > > > > > Stian, how should I send the code<br>
> >> that I made<br>
> >> to the<br>
> >> > > > > > > > > > > Keycloak<br>
> >> > > > > > repo?<br>
> >> > > > > > > > > > ><br>
> >> > > > > > > > > > > Can you tell me what module name<br>
> >> to use, and<br>
> >> where to<br>
> >> > > > > > > > > > > create<br>
> >> > > > it?<br>
> >> > > > > > > > > > ><br>
> >> > > > > > > > > > ><br>
> >> > > > > > > > > > > On Tue, Jul 8, 2014 at 10:00 AM,<br>
> >> Rodrigo Sasaki <<br>
> >> > > > > > > > > > <a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a><br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>><br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.">rodrigopsasaki@gmail.</a>__com<br>
> >><br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>>>><br>
> >> > > > > > > > > > > wrote:<br>
> >> > > > > > > > > > ><br>
> >> > > > > > > > > > > > I would really like to do that<br>
> >> :) All I'm<br>
> >> waiting for is<br>
> >> > > > an OK<br>
> >> > > > > > to<br>
> >> > > > > > > > do<br>
> >> > > > > > > > > > it,<br>
> >> > > > > > > > > > > > because it was built inside the<br>
> >> company, so I<br>
> >> need<br>
> >> > > > approval.<br>
> >> > > > > > > > > > > ><br>
> >> > > > > > > > > > > > But I really believe it'll get a<br>
> >> lot better<br>
> >> when it's out<br>
> >> > > > > > there,<br>
> >> > > > > > > > and<br>
> >> > > > > > > > > > you<br>
> >> > > > > > > > > > > > can all pitch in<br>
> >> > > > > > > > > > > ><br>
> >> > > > > > > > > > > ><br>
> >> > > > > > > > > > > > On Tue, Jul 8, 2014 at 9:55 AM,<br>
> >> Stian<br>
> >> Thorgersen <<br>
> >> > > > > > <a href="mailto:stian@redhat.com">stian@redhat.com</a> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>><br>
> >> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a> <mailto:<a href="mailto:stian@redhat.com">stian@redhat.com</a>>><br>
> >><br>
> >> > > > > > > > ><br>
> >> > > > > > > > > > wrote:<br>
> >> > > > > > > > > > > ><br>
> >> > > > > > > > > > > >> Ideal way to contribute it to<br>
> >> Keycloak would<br>
> >> be if you<br>
> >> > > > fork<br>
> >> > > > > > the<br>
> >> > > > > > > > > > Keycloak<br>
> >> > > > > > > > > > > >> repo, add a module and do a PR ;)<br>
> >> > > > > > > > > > > >><br>
> >> > > > > > > > > > > >> ----- Original Message -----<br>
> >> > > > > > > > > > > >> > From: "Rodrigo Sasaki"<br>
> >> <<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a><br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>><br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.">rodrigopsasaki@gmail.</a>__com<br>
> >> <mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>>>><br>
> >> > > > > > > > > > > >> > To: "Juraci Paixão Kröhling"<br>
> >> <<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a>><br>
> >> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a>>>><br>
> >> > > > > > > > > > > >> > Cc:<br>
> >> <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.">keycloak-user@lists.</a>__<a href="http://jboss.org" target="_blank">jboss.org</a><br>
> >><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>>><br>
> >> > > > > > > > > > > >> > Sent: Tuesday, 8 July, 2014<br>
> >> 1:50:14 PM<br>
> >> > > > > > > > > > > >> > Subject: Re: [keycloak-user]<br>
> >> Java Keycloak<br>
> >> REST API<br>
> >> > > > Wrapper<br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > > > > > > > >> > Oh yes, I believe it is<br>
> >> already very usable.<br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > > > > > > > >> > All I need now is to get my<br>
> >> manager to<br>
> >> agree to make<br>
> >> > > > this<br>
> >> > > > > > repo<br>
> >> > > > > > > > > > public,<br>
> >> > > > > > > > > > > >> > because there is a policy<br>
> >> that all repos<br>
> >> are private<br>
> >> > > > > > > > > > > >> > in<br>
> >> > > > this<br>
> >> > > > > > > > project<br>
> >> > > > > > > > > > > >> we're<br>
> >> > > > > > > > > > > >> > working in, but I don't think<br>
> >> we'll have<br>
> >> problems with<br>
> >> > > > > > this. I<br>
> >> > > > > > > > > > pitched<br>
> >> > > > > > > > > > > >> him<br>
> >> > > > > > > > > > > >> > the idea of contributing to<br>
> >> Keycloak and<br>
> >> he seemed to<br>
> >> > > > like<br>
> >> > > > > > it<br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > > > > > > > >> > On Tue, Jul 8, 2014 at 9:32<br>
> >> AM, Juraci<br>
> >> Paixão Kröhling<br>
> >> > > > > > > > > > > >> > <<br>
> >> > > > > > > > > > > >> <a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a><br>
> >> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a>> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a><br>
> >><br>
> >> <mailto:<a href="mailto:juraci@kroehling.de">juraci@kroehling.de</a>>><br>
> >> > > > > > > > > > > >> > > wrote:<br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > > > > > > > >> > -----BEGIN PGP SIGNED<br>
> >> MESSAGE-----<br>
> >> > > > > > > > > > > >> > Hash: SHA512<br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > > > > > > > >> > Hello Rodrigo,<br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > > > > > > > >> > Do you have news about this?<br>
> >> I'm working<br>
> >> on a task<br>
> >> > > > > > > > > > > >> > that<br>
> >> > > > > > would<br>
> >> > > > > > > > > > require<br>
> >> > > > > > > > > > > >> > me to do something similar,<br>
> >> so, I think it<br>
> >> would best<br>
> >> > > > if we<br>
> >> > > > > > can<br>
> >> > > > > > > > > > > >> > collaborate on this API :-)<br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > > > > > > > >> > If/when you have some time,<br>
> >> we could have<br>
> >> a chat via<br>
> >> > > > > > > > > > > >> > IRC<br>
> >> > > > > > > > > > (jpkroehling<br>
> >> > > > > > > > > > > >> > at #keycloak on freenode).<br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > > > > > > > >> > - - Juca.<br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > > > > > > > >> > On 06/20/2014 10:00 PM,<br>
> >> Rodrigo Sasaki wrote:<br>
> >> > > > > > > > > > > >> > > I'm working on a Java-based<br>
> >> wrapper for<br>
> >> the REST<br>
> >> > > > > > > > > > > >> > > API,<br>
> >> > > > to<br>
> >> > > > > > make<br>
> >> > > > > > > > it<br>
> >> > > > > > > > > > > >> > > look more OO, abstracting<br>
> >> the access to<br>
> >> servers.<br>
> >> > > > > > > > > > > >> > ><br>
> >> > > > > > > > > > > >> > > It uses methods such as<br>
> >> > > > > > > > > > > >> > ><br>
> >> > > > > > > > > > > >> > > User bill =<br>
> >> realm.getUser("bburke")<br>
> >> > > > > > List<RoleRepresentation><br>
> >> > > > > > > > roles<br>
> >> > > > > > > > > > > >> > > =<br>
> >> > > > > > > > > > > >> > ><br>
> >> bill.__getApplicationRoleMappings("__customer-portal");<br>
> >><br>
> >> > > > > > > > > > > >> > ><br>
> >> > > > > > > > > > > >> > > It's still in it's early<br>
> >> stages, but if<br>
> >> you find it<br>
> >> > > > > > > > interesting,<br>
> >> > > > > > > > > > > >> > > I'd be happy to create a<br>
> >> repo for other<br>
> >> Java users<br>
> >> > > > > > > > > > > >> > > to<br>
> >> > > > use<br>
> >> > > > > > it,<br>
> >> > > > > > > > and<br>
> >> > > > > > > > > > > >> > > adapt it based on<br>
> >> suggestions aswell.<br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > > > > > > > >> > -----BEGIN PGP SIGNATURE-----<br>
> >> > > > > > > > > > > >> > Version: GnuPG v2<br>
> >> > > > > > > > > > > >> > Comment: Using GnuPG with<br>
> >> Thunderbird -<br>
> >> > > > > > > > <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > ><br>
> >><br>
> >> iQEcBAEBCgAGBQJTu+__ThAAoJEDnJtskdmzLM4PcH/__<br>
> >> jShu9J6nnV92HqSyqyy4y7d<br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > ><br>
> >><br>
> >> snhFqt4G+__aqyhdH4iiOUbV36Zb07fPnO5w7s9vc<br>
> >> __r79YLGjuAWaODIzU1D1yZxbyA<br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > ><br>
> >><br>
> >> X4e3y5ClCSZMefHGSXoCOs7U+__cVuCAUivCXBhe+hIb4pM/2krlhaS+_<br>
> >> _ai3I2Ur43Z<br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > ><br>
> >><br>
> >> 5uzPS+__pz983y2i1UGkhJBzqv8MVabNPq3vC+<br>
> >> __LX2bK9vEmd4Qiz0LdC9jwP23DZY9<br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > ><br>
> >><br>
> >> srdtReO5uC0/HjtfzrNP+__ErY1WpIEFAuHW5abtL7HHwvdZYNgYU<br>
> >> __Ij6f8w8oGGLMp<br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > ><br>
> >><br>
> >> iaHvbFMPFmuqNisDqbOWf6OtG7E3Nk__<br>
> >> 2anqeUu5qcvCaPyMQA8edvgctc4a2j__bJc=<br>
> >> > > > > > > > > > > >> > =3O4p<br>
> >> > > > > > > > > > > >> > -----END PGP SIGNATURE-----<br>
> >> > > > > > > > > > > >> ><br>
> >> _________________________________________________<br>
> >><br>
> >> > > > > > > > > > > >> > keycloak-user mailing list<br>
> >> > > > > > > > > > > >> > <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.">keycloak-user@lists.</a>__<a href="http://jboss.org" target="_blank">jboss.org</a><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>>><br>
> >> > > > > > > > > > > >> ><br>
> >> <a href="https://lists.jboss.org/__mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/__mailman/listinfo/keycloak-user</a><br>
> >><br>
> >> <<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a>><br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > > > > > > > >> > --<br>
> >> > > > > > > > > > > >> > Rodrigo Sasaki<br>
> >> > > > > > > > > > > >> ><br>
> >> > > > > > > > > > > >> ><br>
> >> _________________________________________________<br>
> >><br>
> >> > > > > > > > > > > >> > keycloak-user mailing list<br>
> >> > > > > > > > > > > >> > <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.">keycloak-user@lists.</a>__<a href="http://jboss.org" target="_blank">jboss.org</a><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>>><br>
> >> > > > > > > > > > > >> ><br>
> >> <a href="https://lists.jboss.org/__mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/__mailman/listinfo/keycloak-user</a><br>
> >><br>
> >> <<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a>><br>
> >> > > > > > > > > > > >><br>
> >> > > > > > > > > > > ><br>
> >> > > > > > > > > > > ><br>
> >> > > > > > > > > > > ><br>
> >> > > > > > > > > > > > --<br>
> >> > > > > > > > > > > > Rodrigo Sasaki<br>
> >> > > > > > > > > > > ><br>
> >> > > > > > > > > > ><br>
> >> > > > > > > > > > ><br>
> >> > > > > > > > > > ><br>
> >> > > > > > > > > > > --<br>
> >> > > > > > > > > > > Rodrigo Sasaki<br>
> >> > > > > > > > > > ><br>
> >> > > > > > > > > ><br>
> >> > > > > > > > ><br>
> >> > > > > > > > ><br>
> >> > > > > > > > ><br>
> >> > > > > > > > > --<br>
> >> > > > > > > > > Rodrigo Sasaki<br>
> >> > > > > > > > ><br>
> >> > > > > > > ><br>
> >> > > > > > ><br>
> >> > > > > > ><br>
> >> > > > > > ><br>
> >> > > > > > > --<br>
> >> > > > > > > Rodrigo Sasaki<br>
> >> > > > > > ><br>
> >> > > > > ><br>
> >> > > > ><br>
> >> > > > ><br>
> >> > > > ><br>
> >> > > > > --<br>
> >> > > > > Rodrigo Sasaki<br>
> >> > > > ><br>
> >> > > ><br>
> >> > ><br>
> >> > ><br>
> >> > ><br>
> >> > > --<br>
> >> > > Rodrigo Sasaki<br>
> >> > ><br>
> >> ><br>
> >> > _________________________________________________<br>
> >><br>
> >> > keycloak-user mailing list<br>
> >> > <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.">keycloak-user@lists.</a>__<a href="http://jboss.org" target="_blank">jboss.org</a><br>
> >> <mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>>><br>
> >> ><br>
> >> <a href="https://lists.jboss.org/__mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/__mailman/listinfo/keycloak-user</a><br>
> >><br>
> >> <<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a>><br>
> >><br>
> >><br>
> >><br>
> >><br>
> >> --<br>
> >> Rodrigo Sasaki<br>
> >><br>
> >><br>
> >> --<br>
> >> Bill Burke<br>
> >> JBoss, a division of Red Hat<br>
> >> <a href="http://bill.burkecentral.com" target="_blank">http://bill.burkecentral.com</a><br>
> >><br>
> >><br>
> >><br>
> >><br>
> >> --<br>
> >> Rodrigo Sasaki<br>
> >><br>
> ><br>
> > --<br>
> > Bill Burke<br>
> > JBoss, a division of Red Hat<br>
> > <a href="http://bill.burkecentral.com" target="_blank">http://bill.burkecentral.com</a><br>
> ><br>
><br>
><br>
><br>
> --<br>
> Rodrigo Sasaki<br>
><br>
</div></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>