<div dir="ltr"><div class="markdown-here-wrapper" style><p style="margin:1.2em 0px!important">Someone know that I am doing wrong?</p>
<h2 id="login" style="margin:1.3em 0px 1em;padding:0px;font-weight:bold;font-size:1.4em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204,204,204)">Login</h2>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline;background-color:rgb(248,248,248);white-space:pre;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,255)">curl -v -b cookies.txt -c cookies.txt \
     -H &quot;Accept: application/json&quot; \
     -H &quot;Content-type: application/json&quot; \
     -u &quot;myuser:mypass&quot; \
     -X GET <a href="http://quickstarts-edewit.rhcloud.com/rest/security/user/info">http://quickstarts-edewit.rhcloud.com/rest/security/user/info</a>
</code></pre><h2 id="update-contact" style="margin:1.3em 0px 1em;padding:0px;font-weight:bold;font-size:1.4em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204,204,204)">Update Contact</h2>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline;background-color:rgb(248,248,248);white-space:pre;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,255)">curl -v -b cookies.txt -c cookies.txt \
     -H &quot;Accept: application/json&quot; \
     -H &quot;Content-type: application/json&quot; \
     -X PUT \
     -d &#39;{&quot;firstName&quot;:&quot;fname&quot;,&quot;lastName&quot;:&quot;lname&quot;,&quot;phoneNumber&quot;:&quot;1234567&quot;,&quot;email&quot;:&quot;<a href="mailto:example@example.com">example@example.com</a>&quot;, &quot;birthDate&quot;:&quot;2001-03-24&quot;}&#39; \
      <a href="http://quickstarts-edewit.rhcloud.com/rest/contacts/7">http://quickstarts-edewit.rhcloud.com/rest/contacts/7</a>
</code></pre><p style="margin:1.2em 0px!important">— Passos</p>
<div title="MDH:U29tZW9uZSBrbm93IHRoYXQgSSBhbSBkb2luZyB3cm9uZz88ZGl2Pjxicj48L2Rpdj48ZGl2Pjxk
aXY+IyMgTG9naW48L2Rpdj48ZGl2PmBgYDwvZGl2PjxkaXY+Y3VybCAtdiAtYiBjb29raWVzLnR4
dCAtYyBjb29raWVzLnR4dCBcPC9kaXY+PGRpdj4mbmJzcDsgJm5ic3A7ICZuYnNwOy1IICJBY2Nl
cHQ6IGFwcGxpY2F0aW9uL2pzb24iIFw8L2Rpdj48ZGl2PiZuYnNwOyAmbmJzcDsgJm5ic3A7LUgg
IkNvbnRlbnQtdHlwZTogYXBwbGljYXRpb24vanNvbiIgXDwvZGl2PjxkaXY+Jm5ic3A7ICZuYnNw
OyAmbmJzcDstdSAibXl1c2VyOm15cGFzcyIgXDwvZGl2PjxkaXY+Jm5ic3A7ICZuYnNwOyAmbmJz
cDstWCBHRVQgaHR0cDovL3F1aWNrc3RhcnRzLWVkZXdpdC5yaGNsb3VkLmNvbS9yZXN0L3NlY3Vy
aXR5L3VzZXIvaW5mbzwvZGl2PjxkaXY+YGBgPC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj4jIyBV
cGRhdGUgQ29udGFjdDwvZGl2PjxkaXY+YGBgPC9kaXY+PGRpdj5jdXJsIC12IC1iIGNvb2tpZXMu
dHh0IC1jIGNvb2tpZXMudHh0IFw8L2Rpdj48ZGl2PiZuYnNwOyAmbmJzcDsgJm5ic3A7LUggIkFj
Y2VwdDogYXBwbGljYXRpb24vanNvbiIgXDwvZGl2PjxkaXY+Jm5ic3A7ICZuYnNwOyAmbmJzcDst
SCAiQ29udGVudC10eXBlOiBhcHBsaWNhdGlvbi9qc29uIiBcPC9kaXY+PGRpdj4mbmJzcDsgJm5i
c3A7ICZuYnNwOy1YIFBVVCBcPC9kaXY+PGRpdj4mbmJzcDsgJm5ic3A7ICZuYnNwOy1kICd7ImZp
cnN0TmFtZSI6ImZuYW1lIiwibGFzdE5hbWUiOiJsbmFtZSIsInBob25lTnVtYmVyIjoiMTIzNDU2
NyIsImVtYWlsIjoiZXhhbXBsZUBleGFtcGxlLmNvbSIsICJiaXJ0aERhdGUiOiIyMDAxLTAzLTI0
In0nIFw8L2Rpdj48ZGl2PiZuYnNwOyAmbmJzcDsgJm5ic3A7IGh0dHA6Ly9xdWlja3N0YXJ0cy1l
ZGV3aXQucmhjbG91ZC5jb20vcmVzdC9jb250YWN0cy83PC9kaXY+PGRpdj5gYGA8L2Rpdj48L2Rp
dj48ZGl2Pjxicj48L2Rpdj48ZGl2Pi0tIFBhc3NvczwvZGl2Pg==" style="height:0;font-size:0em;padding:0;margin:0">​</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 20, 2014 at 3:13 PM, Sebastien Blanc <span dir="ltr">&lt;<a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@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">Since we changed the use case for the Push part (now we broadcast) , passing a alias to UPS is not relevant anymore. For the login it&#39;s indeed &quot;loginName&quot; to be passed in the auth header along with the password.<div>


 <div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Tue, May 20, 2014 at 7:34 PM, Daniel Passos <span dir="ltr">&lt;<a href="mailto:daniel@passos.me" target="_blank">daniel@passos.me</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr">To register I send &quot;userName&quot; and the login response &quot;loginName&quot;?<span><font color="#888888"><div><br></div></font></span><div><span><font color="#888888">-- Passos</font></span><div>
<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 17, 2014 at 6:07 PM, Sebastien Blanc <span dir="ltr">&lt;<a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@gmail.com</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Sure !<div>This is just a version to ease the client development.</div>




<div>I will ask PL team and Joshua their plans around HSTS and HTTPS.</div><div>In the mean time we can track all of this with <a href="https://issues.jboss.org/browse/AGPUSH-596" target="_blank">https://issues.jboss.org/browse/AGPUSH-596</a></div>





<div><br></div><div>Thx for the comment !</div><div>Sebi</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Thu, Apr 17, 2014 at 9:48 PM, Bruno Oliveira <span dir="ltr">&lt;<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;</span> wrote:<br>





</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div>If your idea is to be secure, please make sure to use HTTPS and enforce<br>





users to be redirected. We did it in the past with HSTS on AG Security,<br>
might not be hard to copy &amp; paste.<br>
<div><div><br>
Sebastien Blanc wrote:<br>
&gt; And because I love you, I deployed on OpenShift a version of this secured<br>
&gt; backend to ease the development of the clients !<br>
&gt;<br>
&gt; If you browse to <a href="http://contacts-sblanc.rhcloud.com/" target="_blank">http://contacts-sblanc.rhcloud.com/</a> you will even see the<br>
&gt; mobile web client. This deployed version contains also the Push Message<br>
&gt; endpoint.</div></div></div></div></blockquote></div></div></blockquote></div></div></div></div></div>
<br></div></div><div class="">_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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></div></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">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></div>