I was looking at the signature of the login method https://github.com/aerogear/aerogear-controller-demo/blob/jaxrs/src/main/java/org/jboss/aerogear/jaxrs/demo/service/LoginEndpoint.java#L26

 public User login(final User user, String password)

Currently it accepts an (PL) user and password String which does not fit very well with both JAX-RS and on how our Auth Client modules sends the data (JSON).

Our AerogearUser firend is dead but for this repo shouldn't we have some kind of same class (just for internal use), just to hold the loginName and Password to make the flow easier ? 

Not sure what is the best approach here ...

Seb



On Wed, Oct 9, 2013 at 10:20 PM, Sebastien Blanc <scm.blanc@gmail.com> wrote:
Awesome ! 
I will give it a look tomorrow !



On Wed, Oct 9, 2013 at 9:43 PM, Bruno Oliveira <bruno@abstractj.org> wrote:
Just to give to the whole team some motivation, I've already moved all
the programming logic from ag-controller to jax-rs (
https://github.com/aerogear/aerogear-controller-demo/tree/jaxrs )

That must be the main branch of development, a ton of things will break
and everyone is welcome to fix it.

> Sebastien Blanc <mailto:scm.blanc@gmail.com>
> October 9, 2013 6:32 AM
>
>
>
> On Wed, Oct 9, 2013 at 11:26 AM, Stefan Miklosovic
> <smikloso@redhat.com <mailto:smikloso@redhat.com>> wrote:
>
>     +1
>
>     But don't you guys know if there is any demo / example which would
>     show the communication between some Android native applicaiton and
>     web page deployed in AS? I need that for presentation purposes on
>     some talk we are going to give very soon and it would be cool to
>     show some demo where AeroGear mobile app + web service is
>     functioning and working together smoothly.
>
>
> We have started a thread for
> this http://lists.jboss.org/pipermail/aerogear-dev/2013-October/004900.html
> And a Jira https://issues.jboss.org/browse/AEROGEAR-1327
> Basically it will be copy (feature wise) of the ag-controller-demo.
> Using Forge and scaffolding it should be done quite quickly.
>
>
>     Ping me off the list if you have some project you are working on
>     but it is not yet published or you know about some ... Everything
>     which works (and can be functionaly tested with Selenium /
>     WebDriver) is good.
>
>     Thanks a lot!
>
>     Stefan Miklosovic
>     Red Hat Brno
>
>     ----- Original Message -----
>     > On Tue, 08 Oct 2013 13:55:25 -0300
>     > Bruno Oliveira <bruno@abstractj.org
>     <mailto:bruno@abstractj.org>> wrote:
>     >
>     > > Good morning all, today I sent this PR.
>     > >
>     > > Before move forward with the ceremony, I would like to hear
>     your thoughts.
>     > >
>     > > 1- I strongly recommend to drop or hide that repository to avoid
>     > > misguided information. yay/nay?
>     > yay
>     > > 2- I would like to drop the instance on OpenShift too. yay/nay?
>     > yay
>     > >
>     > >
>     >
>     > Should not you hide/deprecate/drop Aerogear Controller as well?
>     >
>     > _______________________________________________
>     > aerogear-dev mailing list
>     > aerogear-dev@lists.jboss.org <mailto:aerogear-dev@lists.jboss.org>
>     > https://lists.jboss.org/mailman/listinfo/aerogear-dev
>     >
>     _______________________________________________
>     aerogear-dev mailing list
>     aerogear-dev@lists.jboss.org <mailto:aerogear-dev@lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
> Stefan Miklosovic <mailto:smikloso@redhat.com>
> October 9, 2013 6:26 AM
> +1
>
> But don't you guys know if there is any demo / example which would
> show the communication between some Android native applicaiton and web
> page deployed in AS? I need that for presentation purposes on some
> talk we are going to give very soon and it would be cool to show some
> demo where AeroGear mobile app + web service is functioning and
> working together smoothly.
>
> Ping me off the list if you have some project you are working on but
> it is not yet published or you know about some ... Everything which
> works (and can be functionaly tested with Selenium / WebDriver) is good.
>
> Thanks a lot!
>
> Stefan Miklosovic
> Red Hat Brno
>
> ----- Original Message -----
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
> Karel Piwko <mailto:kpiwko@redhat.com>
> October 9, 2013 5:39 AM
> On Tue, 08 Oct 2013 13:55:25 -0300
> Bruno Oliveira <bruno@abstractj.org> wrote:
>
>> Good morning all, today I sent this PR.
>>
>> Before move forward with the ceremony, I would like to hear your thoughts.
>>
>> 1- I strongly recommend to drop or hide that repository to avoid
>> misguided information. yay/nay?
> yay
>> 2- I would like to drop the instance on OpenShift too. yay/nay?
> yay
>
> Should not you hide/deprecate/drop Aerogear Controller as well?
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
> Bruno Oliveira <mailto:bruno@abstractj.org>
> October 8, 2013 1:55 PM
> Good morning all, today I sent this PR.
>
> Before move forward with the ceremony, I would like to hear your thoughts.
>
> 1- I strongly recommend to drop or hide that repository to avoid
> misguided information. yay/nay?
> 2- I would like to drop the instance on OpenShift too. yay/nay?
>
>

--
abstractj



_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev