Once the user is logged in, I create a Java session and save its user ID and sessionid (sid) in the session, these two parameters are sent to the GWT client, and they are stored there in the GWT base client (not like cookies). I am using MVP Architecture.
Each call made to separate it after that is sent with these two parameters, userID and SID, so I check this on the server that the current session on the server is equal to the specified session identifier and belongs to this user identifier.
IF everything is fine, only then will I process the RPC request further.
In addition, I plan to make all my RPC handlers to extend a common RPC handler that will accept these parameters.
I am new to GWT and GAE, any help would be greatly appreciated.
Thank.
source
share