i've done it using a static serializable object (imagine it works like
a "session").

Something similar to:

public class SessionData implements Serializable {

    private static User user = null;
..
...
}

how it works:
-i call a rpc method passing user and md5'ed pass;
-the "remote" method check if the couple exists in my db, than return
null or the User object;

public User checkUser(String user,String pass) {
....
}
-the calling methot set the User returned in the SessionData object,
so it's available from anyway from the app.

hope this helped.
bye


On Mar 10, 11:59 pm, Flippik <[email protected]> wrote:
> Hi 2 everybody.
>
> Sorry, I'm going to ask you not a very clever question but I have to
> do it.
> I need to implement an authorization form for my GWT 2.0 application.
> I have searched a lot in google, found tons of information but failed
> to find anything to help me.
> All examples are actual for GWT 1.5, 1.6 only. I have bought two books
> about GWT but there is nothing there either.
> Could anybody help me and send a working example? I would appreciate
> it greatly.
>
> Thank you in advance.

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

Reply via email to