Yes, its application state for a "User". Why do I need to query server
information every time for a user, I think I should able to create
client side object such as UserProfile, populate it from server side
once user logs in and then pass client side UserProfile object where
its required such as Header or Navigation pages.

- Mittal

On Dec 6, 9:47 am, Jeff Schwartz <jefftschwa...@gmail.com> wrote:
> In your case the state you want to preserve seems to be associated with a
> particular user, not the application, so you can use either cookies or
> servlet session state to persist the information when the user logs in and
> you can then query the information when displaying tabs or reacting to other
> user interface events.
>
> Jeff
>
>
>
> On Mon, Dec 6, 2010 at 9:39 AM, Mittal <mitt...@gmail.com> wrote:
> > Here's the use case we are dealing with,
>
> > SSO token shall be received by GWT application.
> > SSO token shall have user profile and role information.
> > Once I have read SSO token, I would like to use User Profile
> > information to be available in header page and Role information in
> > navigation page to control who see's what in terms of functionality
> > (tabs).
>
> > How do I store or hold token information as an application state ?
>
> > - Mittal
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> *Jeff Schwartz*

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to