<div dir="ltr">Hi Mus,<div><br></div><div>I have decoded your credentials, submitted by the UnifiedPush Console.</div><div>ec8260b5-5db2-443a-90db-64e49d147c21:4b09a8b7-88da-4bc6-922a-c65fd40045f3<br></div><div><br></div><div>
<br></div><div>however, your java code has this:</div><div><ol style="margin:0px;padding:0px 0px 0px 48px;color:rgb(172,172,172);font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,monospace,serif;font-size:12px;line-height:21px;background-color:rgb(248,248,248)">
<li class=""><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background:rgb(255,255,255)">                                .<span class="" style="color:rgb(0,102,51)">pushApplicationId</span><span class="" style="color:rgb(0,153,0)">(</span><span class="" style="color:rgb(0,0,255)">&quot;73275d2d-5e83-4a87-8342-7a6cd15068f2&quot;</span><span class="" style="color:rgb(0,153,0)">)</span></div>
</li><li class=""><div class="" style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background:rgb(255,255,255)">                                .<span class="" style="color:rgb(0,102,51)">masterSecret</span><span class="" style="color:rgb(0,153,0)">(</span><span class="" style="color:rgb(0,0,255)">&quot;cd9aabfa-e163-4a52-8f18-4ca3de3b1001&quot;</span><span class="" style="color:rgb(0,153,0)">)</span></div>
</li></ol><div><font color="#009900" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif"><span style="font-size:12px;line-height:21px"><br></span></font></div>
</div><div><font color="#009900" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif"><span style="font-size:12px;line-height:21px"><br></span></font></div>
<div>That does explain the 401<br></div><div><br></div><div>-Matthias</div><div><font color="#009900" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif"><span style="font-size:12px;line-height:21px"><br>
</span></font></div><div><font color="#009900" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif"><span style="font-size:12px;line-height:21px"><br>
</span></font></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 11, 2014 at 4:42 PM, mmusaji <span dir="ltr">&lt;<a href="mailto:mmusaji@redhat.com" target="_blank">mmusaji@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m using JavaSender 0.8.0. This is from the internal DR3 release.<br>
<br>
Here&#39;s the POST captured from the console. NOTE: this works fine, but the<br>
JavaSender fails so if you want me to capture anything from this side let me<br>
know how/what you need.<br>
<br>
Remote Address:<a href="http://10.33.1.143:8080" target="_blank">10.33.1.143:8080</a><br>
Request URL:<a href="http://10.33.1.143:8080/ag-push/rest/sender" target="_blank">http://10.33.1.143:8080/ag-push/rest/sender</a><br>
Request Method:POST<br>
Status Code:200 OK<br>
Request Headersview source<br>
Accept:application/json, text/plain, */*<br>
Accept-Encoding:gzip,deflate,sdch<br>
Accept-Language:en-US,en;q=0.8,en-GB;q=0.6<br>
aerogear-sender:AeroGear UnifiedPush Console<br>
Authorization:Basic<br>
ZWM4MjYwYjUtNWRiMi00NDNhLTkwZGItNjRlNDlkMTQ3YzIxOjRiMDlhOGI3LTg4ZGEtNGJjNi05MjJhLWM2NWZkNDAwNDVmMw==<br>
Connection:keep-alive<br>
Content-Length:46<br>
Content-Type:application/json;charset=UTF-8<br>
Host:<a href="http://10.33.1.143:8080" target="_blank">10.33.1.143:8080</a><br>
Origin:<a href="http://10.33.1.143:8080" target="_blank">http://10.33.1.143:8080</a><br>
Referer:<a href="http://10.33.1.143:8080/ag-push/
User-Agent:Mozilla/5.0" target="_blank">http://10.33.1.143:8080/ag-push/<br>
User-Agent:Mozilla/5.0</a> (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like<br>
Gecko) Chrome/36.0.1985.125 Safari/537.36<br>
Request Payloadview source<br>
{message:{sound:default, alert:Blah}}<br>
message: {sound:default, alert:Blah}<br>
Response Headersview source<br>
Content-Length:13<br>
Content-Type:application/json<br>
Date:Mon, 11 Aug 2014 14:36:59 GMT<br>
Server:Apache-Coyote/1.1<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-JavaSender-questions-and-a-few-other-bits-tp8827p8833.html" target="_blank">http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-JavaSender-questions-and-a-few-other-bits-tp8827p8833.html</a><br>

Sent from the aerogear-dev mailing list archive at Nabble.com.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<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>
</div></div></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>