On Fri, Jul 22, 2011 at 6:38 AM, Luciano Resende <[email protected]>wrote:

> On Thu, Jul 21, 2011 at 11:37 AM, Subash Chaturanga <[email protected]>
> wrote:
> > Hi devs,
> >
> > It is bit time consuming if user have to authenticate himself to Facebook
> > for this app each time he logs in. So I already have scripts to obtain
> > facebook access token which has offline access. So according to Facebook
> > those tokens are "long lived" tokens. So how about storing it in local
> JCR?
> > We can store them with a key of his/her photark logged in user id.
> >
>
> +1, Please look at the authentication pieces that we have as I think
> it already create a user profile, we could just add that as one
> property for the user profile.

+1 for adding it as a property.

Suho might know more details or we
> could look into the code to see how that is working.
>

Yes, I also thought to add this as a property to where the security layer
keeps the user profile information. But I still not aware of how security
layer related things happens. I will also look in to it.



>
>
> --
> Luciano Resende
> http://people.apache.org/~lresende
> http://twitter.com/lresende1975
> http://lresende.blogspot.com/
>



-- 
Subash Chaturanga
Department of Computer Science & Engineering
University of Moratuwa
Sri Lanka

Blog -  http://subashsdm.blogspot.com/
Twitter - http://twitter.com/subash89

Reply via email to