[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Aerogear-dev] AeroGear Security

Hi Matthias, thanks for your reviewing this draft, answers inline.

On Fri, Jul 13, 2012 at 6:47 PM, Matthias Wessendorf <matzew apache org> wrote:

did a quick scan; a few things here - will read it again over the weekend;

1) with the server location where REST resources will be hosted.
==> what about different transport :) :)

It's a fair point with the 'host' attribute we can make it happen in the future, for example:

//Create an instance of aerogear.auth
var auth = aerogear.auth({
    host: "ws://mydefaulthost.com"

I would like to include it in Aerogear.next, what do you think? I'm open for suggestions.

2) This attribute is optional and if not present the default REST
authentication method will be assumed.
==> Basic (WWW-Authenticate: Basic)? Or what do you mean by default ?

The default in this situation would be REST authentication API. I was wondering about an easy way to get started with authentication.

3) var result = aerogear.auth.signout();
=> what is the return value here?
(similar to signup/signin)

Just a informative message to know that the user was successfully signed out, but I'll probably find out a best approach for it during the development process.

Let me know if you have more questions, this draft is not set in stone. 

On Fri, Jul 13, 2012 at 5:44 PM, Bruno Oliveira <bruno abstractj org> wrote:
> Hi folks, my turn to throw some ideas.
> I've started an initial draft on security libraries for AeroGear and
> hopefully we can start filling in the high priority sections on the next
> week. Before starting, feel free to add comments or suggestions, feedback is
> always welcome.
> https://gist.github.com/23c932d971f28d8ba1b5
> --
> --
> "Know the rules well, so you can break them effectively" - Dalai Lama XIV
> -
> @abstractj
> -
> Volenti Nihil Difficile
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev redhat com
> https://www.redhat.com/mailman/listinfo/aerogear-dev

Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


"The measure of a man is what he does with power" - Plato
Volenti Nihil Difficile

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]