<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 27, 2013, at 12:34 PM, Sebastien Blanc wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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 ;)&nbsp;</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't want to mess up<br>
with the project.<br></blockquote><div style="">Yeah, sorry, that is also my fault, is &nbsp;<a href="https://github.com/aerogear/ide-config">https://github.com/aerogear/ide-config</a>&nbsp;still up to date and shall I use this one ?&nbsp;</div></div></div></div></blockquote><div><br></div><div>Unfortunately I think that likely needs to be reviewed and updated, although it is as least a starting point. &nbsp;</div><div><br></div><div>What are others using now? &nbsp;Their own? &nbsp;Other communities?</div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
<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 "Accept: application/json" -H "Content-type:<br>
application/json" -X POST -d '{"loginName": "john", "password":"123"}'<br>
<a href="http://localhost:8080/prodoctor/login" target="_blank">http://localhost:8080/prodoctor/login</a><br>
<br>
The HTTP response is:<br>
<br>
{"id":"8a7d9bfd-6adc-475a-9b90-407efb6bcae5","enabled":true,"createdDate":1372349593981,"expirationDate":null,"partition":null,"loginName":"john","firstName":null,"lastName":null,"email":null,"status":"PTO","password":"123","location":"New<br>

York"}<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't do so much if they'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.&nbsp;</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>
_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/aerogear-dev</blockquote></div><br></body></html>