Looks good! 

Den onsdagen den 19:e juni 2013 skrev Matthias Wessendorf:
Have in mind, this is all "progressing"...

Currently looking at JavaScript "secure" registration + CORS

Followed by:
* iOS SDK
* Java Sender
* Android

-Matthias



On Wed, Jun 19, 2013 at 6:40 AM, Matthias Wessendorf <matzew@apache.org> wrote:
Bruno merged the security bits to MASTER.

A tag (0.1.0) of the previous MASTER (the one without security) has been created.

-Matthias


On Mon, Jun 17, 2013 at 2:52 PM, Matthias Wessendorf <matzew@apache.org> wrote:

Hi,

I worked a bit on the initial security, after Bruno release the 1.0.1 versions of AG-Security.

Management of PushApplications and MobileVariants

Adding a (simple) DEVELOPER class (just that, no fancy roles yet).
This is powered by AG-Security and the very wellknown "login"/"logout" will be used (and soon "enroll" for new users).

DEVELOPER is allowed to create/manage PushApplications and MobileVariants (including the standard CRUD flow).

Here is a little cURL based flow:

Login:

curl -v -b cookies.txt -c cookies.txt
  -H "Accept: application/json" -H "Content-type: application/json"
  -X POST 
  -d '{"loginName": "admin", "password":"123"}'
http://localhost:8080/ag-push/rest/auth/login

Create new PushApp: