[aerogear-dev] Push Authentication

Matthias Wessendorf matzew at apache.org
Wed Jun 19 02:34:49 EDT 2013


On Wed, Jun 19, 2013 at 12:29 AM, Kris Borchers <kborcher at redhat.com> wrote:

> JS can use anything for the user credential identifiers and I would hope
> the other libs can too! That is just data you pass to the server so it
> should be up to the app dev what the name is based on their app's needs and
> the lib just passes it along. If that is hard coded in the Android or iOS
> libs, IMO it should be changed.
>

see:
https://issues.jboss.org/browse/AGIOS-35

for our enroll, we are already doing that - I guess the login has been
overlooked, when we originally introduced it...




>
> On Jun 18, 2013, at 17:23, Daniel Passos <daniel at passos.me> wrote:
>
> Howdy
>
> Can someone tell me why push server authentication uses "loginName"[1]
> instead of "username" like TODO, controller-demo, etc...
>
> All libs Android[2], iOS[3] and JavaScript[4] on authentication expect
> username/password
>
> Thoughts?
>
> [1]
> https://github.com/aerogear/aerogear-unified-push-server/commit/052c93f481d0147521cb91e8b2887725c6c48aff#L0R27
> [2]
> https://github.com/aerogear/aero-gearandroid/blob/master/src/org/jboss/aerogear/android/authentication/impl/AGSecurityAuthenticationModuleRunner.java#L102
> [3]
> https://github.com/aerogear/aerogear-ios/blob/master/AeroGear-iOS/AeroGear-iOS/security/AGRestAuthentication.m#L122
> [4]
> https://github.com/aerogear/aerogear-js/blob/master/src/authentication/adapters/rest.js#L233
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130619/6f7003db/attachment.html 


More information about the aerogear-dev mailing list