<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 27, 2013 at 6:17 PM, Bruno Oliveira <span dir="ltr">&lt;<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</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">Good morning, today I was looking at the quickstart demo for push and<br>

would like to make some considerations and see what do you guys think.<br>
In this way we can file jiras to move forward.<br>
<br>
- The quickstart make use of AeroGear Controller. IMO we should move to<br>
Resteasy<br></blockquote><div><br></div><div style>+1 , I have a local brach with resteasy, will be pushed tomorrow ;) </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">

- Code formatting, do we have a template for it? I don&#39;t want to mess up<br>
with the project.<br></blockquote><div style>Yeah, sorry, that is also my fault, is  <a href="https://github.com/aerogear/ide-config">https://github.com/aerogear/ide-config</a> still up to date and shall I use this one ? </div>
<div style><br></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">
- Something that brought to my attention, after discuss with Passos some<br>
issues on Android is when you send: curl -v -b cookies.txt -c<br>
cookies.txt -H &quot;Accept: application/json&quot; -H &quot;Content-type:<br>
application/json&quot; -X POST -d &#39;{&quot;loginName&quot;: &quot;john&quot;, &quot;password&quot;:&quot;123&quot;}&#39;<br>
<a href="http://localhost:8080/prodoctor/login" target="_blank">http://localhost:8080/prodoctor/login</a><br>
<br>
The HTTP response is:<br>
<br>
{&quot;id&quot;:&quot;8a7d9bfd-6adc-475a-9b90-407efb6bcae5&quot;,&quot;enabled&quot;:true,&quot;createdDate&quot;:1372349593981,&quot;expirationDate&quot;:null,&quot;partition&quot;:null,&quot;loginName&quot;:&quot;john&quot;,&quot;firstName&quot;:null,&quot;lastName&quot;:null,&quot;email&quot;:null,&quot;status&quot;:&quot;PTO&quot;,&quot;password&quot;:&quot;123&quot;,&quot;location&quot;:&quot;New<br>

York&quot;}<br>
<br>
Attributes like expirationDate, partition and mailing password should<br>
never be sent back. For more details please take a look at how aerogear<br>
controller demo handle it<br>
<a href="https://github.com/aerogear/aerogear-controller-demo/blob/master/src/main/java/org/jboss/aerogear/controller/demo/Login.java#L48" target="_blank">https://github.com/aerogear/aerogear-controller-demo/blob/master/src/main/java/org/jboss/aerogear/controller/demo/Login.java#L48</a>.<br>

<br>
Behind the scenes PicketLink already encrypts the passwords on AGSec,<br>
but I can&#39;t do so much if they&#39;re sent back through the network. Thoughts?<br></blockquote><div><br></div><div style>Yes I have to filter the answer like you did in controller, thanks for pointing that out. </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">
<span class=""><font color="#888888"><br>
--<br>
abstractj<br>
<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>
</font></span></blockquote></div><br></div></div>