I see. How do you check user permissions on server side? Andrey
On Jun 23, 2:47 pm, Chad <chad...@gmail.com> wrote: > Andrey, > > RPC is the way I do it. I have a User object that can be passed > between the client and server. It's kept on the client after login so > the entire UI can easily refer to it. My security scheme contains > roles that are a collection of rights. On the server side, at the time > of login, the roles and rights are retrieved from the database for the > user and added to the user object. The user object is only retrieved > from the server once since it is not stored anywhere (other than in > memory) on the client side. When the app is first entered, the user > object won't exist and therefore require a login. On the client side, > the UI can use the existence (or non-existence) of rights to determine > what to display: --~--~---------~--~----~------------~-------~--~----~ 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-Toolkit@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 -~----------~----~----~----~------~----~------~--~---