<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On May 27, 2014, at 9:10 AM, Daniel Bevenius <<a href="mailto:daniel.bevenius@gmail.com">daniel.bevenius@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">I had plans to extract the web application from contacts-mobile-basic and contacts-mobile-secured into contacts-mobile-webapp, so that there would only be one webapp in the code base. That would have enabled us to configure a single webapp to work against any of the three backends:<div>
1. contacts-mobile-basic</div><div>2. contacts-mobile-picketlink-secured</div><div>3. contacts-mobile-proxy</div><div><br></div><div>But after looking closer I think it might make more sense to leave contacts-mobile-basic as-is, and let contacts-mobile-webapp work against contacts-mobile-picketlink-secured and contacts-mobile-proxy. This is due to the security pages/links etc that have no backend support in contacts-mobile-basic.</div></div></blockquote><div><br></div>+1</div><div><br><blockquote type="cite"><div dir="ltr">
<div><br></div><div>The current state of things is that I've extracted the webapp from contacts-mobile-picketlink-secured into contacts-mobile-webapp and tested it against contacts-mobile-picketlink-secured and contacts-mobile-proxy and things work as expected [1].</div>
<div><br></div><div>I need a fabric8-1.1.0.Beta7 before I can issue a PR for this but it would be great if anyone has time to tryout the branch below and see if we can discover any additional issue. </div></div></blockquote><div><br></div><div>sure thing, let me give it a spin both the web app and with the iOS app.</div><div><br></div><div>-</div><div>Christos</div><div><br></div><blockquote type="cite"><div dir="ltr"><div><br></div><div>
Thanks,</div><div><br></div><div>/Dan</div><div><br></div><div>[1] <a href="https://github.com/danbev/jboss-wfk-quickstarts/tree/push-proxy-quickstart">https://github.com/danbev/jboss-wfk-quickstarts/tree/push-proxy-quickstart</a></div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 26 May 2014 16:00, Daniel Bevenius <span dir="ltr"><<a href="mailto:daniel.bevenius@gmail.com" target="_blank">daniel.bevenius@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I think I've got the delete sorted with this commit:<div><a href="https://github.com/danbev/jboss-wfk-quickstarts/commit/0dfdb8d27ca8ba984e1e92582fb30e6a2e681b00" target="_blank">https://github.com/danbev/jboss-wfk-quickstarts/commit/0dfdb8d27ca8ba984e1e92582fb30e6a2e681b00</a><br>
</div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On 26 May 2014 14:14, Daniel Bevenius <span dir="ltr"><<a href="mailto:daniel.bevenius@gmail.com" target="_blank">daniel.bevenius@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm seeing an issue with deleting of a contact... <div>If I log in as user 'admin' and delete a contact, the next screen the deleted user is still in the list of contacts. If I then go to the "List View" the user is gone. <div>
<br></div></div></div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On 26 May 2014 12:02, Matthias Wessendorf <span dir="ltr"><<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Mon, May 26, 2014 at 11:57 AM, Daniel Bevenius <span dir="ltr"><<a href="mailto:daniel.bevenius@gmail.com" target="_blank">daniel.bevenius@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey Christos <div><br></div><div>I've seen a few of these and perhaps all. I'm currently working on extracting the webapp into a separate project/modules named contacts-mobile-webapp. The webapp in that module was extracted from contacts-mobile-picketlink-secured and I've made some modifications.</div>
</div></blockquote><div><br></div></div><div>+1 awesome!</div><div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<div><br></div><div>For the logout issue I had to add the following:</div><div><a href="https://github.com/danbev/jboss-wfk-quickstarts/commit/d097ddf5c7385cf7ff8e7b003305ddb743d7fb2b#diff-e084cf285ab2733dcd0478559aa4aa40R164" target="_blank">https://github.com/danbev/jboss-wfk-quickstarts/commit/d097ddf5c7385cf7ff8e7b003305ddb743d7fb2b#diff-e084cf285ab2733dcd0478559aa4aa40R164</a><br>
</div><div>This was to make the CORSFilter happy or it would consider the request invalid. </div><div><br></div><div>I've also seen the 403 Forbidden messages but I'm no longer able to reproduce them. I'll take another look at this though.</div>
<div><br></div><div>[1] <a href="https://github.com/danbev/jboss-wfk-quickstarts/tree/push-proxy-quickstart" target="_blank">https://github.com/danbev/jboss-wfk-quickstarts/tree/push-proxy-quickstart</a></div></div><div>
<div><div class="gmail_extra">
<br><br><div class="gmail_quote">On 26 May 2014 11:29, Christos Vasilakis <span dir="ltr"><<a href="mailto:cvasilak@gmail.com" target="_blank">cvasilak@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
during the development of the iOS contacts client [1] , came across the following issues on the web interface. (Note: I am using edewit [2] branch that contains the Push functionality).<br>
<br>
a) Login with “duke:duke" (role.MAINTAINER) and try to edit(PUT) an existing contact you get back a 403-Forbidden message.<br>
b) Login with “admin:admin (role.ADMIN) and try to delete(DELETE) an existing contact you get back a 403-Forbidden message.<br>
<br>
Interestingly enough, on the iOS client using the same credentials in the above scenarios, they work correctly.. so possible(?) there are some issues on the web interface.<br>
<br>
c) Logout on the web interface gives back a “Forbidden” message.<br>
<br>
Tested on both wildfly-8.1.0.CR1 / CR2 and JBoss- EAP-6.2<br>
<br>
Let me know if these are currently worked on or you want me to create JIRA’s.<br>
<br>
Thanks,<br>
Christos<br>
<br>
<br>
[1] <a href="https://github.com/aerogear/aerogear-push-quickstarts/pull/3" target="_blank">https://github.com/aerogear/aerogear-push-quickstarts/pull/3</a><br>
[2] <a href="https://github.com/edewit/jboss-wfk-quickstarts/tree/push/contacts-mobile-picketlink-secured" target="_blank">https://github.com/edewit/jboss-wfk-quickstarts/tree/push/contacts-mobile-picketlink-secured</a><br>
<div>_______________________________________________<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" 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></blockquote></div></div><br><br clear="all"><div><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></div></div>
<br>_______________________________________________<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></blockquote></div><br></div>
</div></blockquote></div><br></div>
</div></div></blockquote></div><br></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>