CurrentUser.class

Its a get method, probably on a hashtable-like object.  Getting current
user.

The auth token is probably from the oauth2 provider like fb or gg.

With the current user and this token, merge them in *your* app.

/guessing
On 20/08/2014 7:05 am, "George Christman" <gchrist...@cardaddy.com> wrote:

> I guess I'm not following the logic of the code then. Why would they be
> passing CurrentUser into it then?
> On Aug 19, 2014 4:46 PM, "Lance Java" <lance.j...@googlemail.com> wrote:
>
> > The ApplicationStateManager is a core Tapestry service and is an
> > abstraction over HttpSession persistence. As stated in the javadocs
> > Application state is probably a bad choice of naming. In hindsight it
> > should probably be called SessionStateManager.
> >  On 19 Aug 2014 21:04, "George Christman" <gchrist...@cardaddy.com>
> wrote:
> >
> > > Hi guys, I see this example of ApplicationStateManager being used with
> > the
> > > federatedaccounts example. line 20
> > >
> > >
> > >
> >
> https://github.com/tynamo/tynamo-example-federatedaccounts/blob/master/src/main/java/org/tynamo/examples/federatedaccounts/services/FederatedAccountServiceExample.java
> > >
> > > I've never seen it used before, so I was hoping someone could provide
> > some
> > > insight on what this code is actually doing and what the purpose of
> using
> > >  ApplicationStateManager is.
> > >
> > > Thanks,
> > >
> > >
> > > --
> > > George Christman
> > > www.CarDaddy.com
> > > P.O. Box 735
> > > Johnstown, New York
> > >
> >
>

Reply via email to