<div dir="ltr">Let&#39;s see how the UPS integration goes, before we have too much KC integration fields, ok ? <div>Once we got that done, I guess we have a good experience on proper integration</div><div><br></div><div>-M</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 6, 2014 at 1:04 PM, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yeah, sounds reasonable to me.<div class="HOEnZb"><div class="h5"><div><br></div><div><span></span><br><br>On Tuesday, May 6, 2014, Corinne Krych &lt;<a href="mailto:corinnekrych@gmail.com" target="_blank">corinnekrych@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Good work!<br>
<br>
I wonder... It might be good to use the same integration for our OAuth2 server side demo in [1]<br>
Here I used a KC server with realm.json configuration. Would it be possible/worth it to replace all the configuration with plain Java?<br>
<br>
++<br>
Corinne.<br>
[1]  <a href="https://github.com/aerogear/aerogear-integration-tests-server/pull/4" target="_blank">https://github.com/aerogear/aerogear-integration-tests-server/pull/4</a><br>
<br>
On 06 May 2014, at 11:49, Matthias Wessendorf &lt;<a>matzew@apache.org</a>&gt; wrote:<br>
<br>
&gt; Hello folks!<br>
&gt;<br>
&gt; Bill Burk was helping on the Keycloak front and besides fixing related items on the Keycloak server, he also created an example that we can use as a template for the actual integration. See [1]<br>
&gt;<br>
&gt; In the past, Bruno and I did integrate w/ an external Keycloak server (see [2]), and we did include the keycloak.json file (See [3]). Thanks to Bill&#39;s work on Keycloak, the &#39;protected app&#39; no longer needs that, see [4].<br>


&gt; Also there is no more the need to customize the Keycloak Rest Application (Stian and I did look into that as well).<br>
&gt;<br>
&gt;<br>
&gt; Good news: This means the UPS can stay as it is -&gt; no need to change internals (e.g. the &#39;bundle all in one WAR file&#39; did force us to change our &#39;/rest&#39; URLs, as Keycloak uses them, see [5]).<br>
&gt;<br>
&gt; Inside of our &#39;modular&#39; Keycloak branch (see [2] again), we can apply the work from Bill:<br>
&gt; * our current &#39;server&#39; module will use a listener similar to [4]<br>
&gt; * create a &quot;ups-auth&quot; module similar to [6]<br>
&gt;<br>
&gt; On the &#39;ups-auth module&#39; there is one area where we need to have some future improvement:<br>
&gt; * testrealm.json -&gt; needs to be in Java code, due to the URL being hard-coded in there (we need to resolve the URL of the host, running the bits). But, IMO for now that should be good enough.<br>
&gt;<br>
&gt; Bruno did offer to help out on the Keycloak integration, so that I can go back to the analytics and mertrics feature. Thanks abstractj!! &lt;3<br>
&gt;<br>
&gt; Greetings,<br>
&gt; Matthias<br>
&gt;<br>
&gt; [1] <a href="https://github.com/keycloak/keycloak/tree/master/project-integrations/aerogear-ups" target="_blank">https://github.com/keycloak/keycloak/tree/master/project-integrations/aerogear-ups</a><br>
&gt; [2] <a href="https://github.com/aerogear/aerogear-unifiedpush-server/tree/keycloak-modular" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server/tree/keycloak-modular</a><br>
&gt; [3] <a href="https://github.com/aerogear/aerogear-unifiedpush-server/blob/keycloak-modular/server/src/main/webapp/WEB-INF/keycloak.json" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server/blob/keycloak-modular/server/src/main/webapp/WEB-INF/keycloak.json</a><br>


&gt; [4] <a href="https://github.com/keycloak/keycloak/blob/master/project-integrations/aerogear-ups/app/src/main/java/org/keycloak/example/BootstrapListener.java" target="_blank">https://github.com/keycloak/keycloak/blob/master/project-integrations/aerogear-ups/app/src/main/java/org/keycloak/example/BootstrapListener.java</a><br>


&gt; [5] <a href="https://github.com/aerogear/aerogear-unifiedpush-server/tree/keycloak-embedded" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server/tree/keycloak-embedded</a><br>
&gt; [6] <a href="https://github.com/keycloak/keycloak/tree/master/project-integrations/aerogear-ups/auth-server" target="_blank">https://github.com/keycloak/keycloak/tree/master/project-integrations/aerogear-ups/auth-server</a><br>


&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Matthias Wessendorf<br>
&gt;<br>
&gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a>aerogear-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a>aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</blockquote></div><br><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>Sent from Gmail Mobile<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div>