Depending on the authentication cookie, your site / services are vulnerable to cross-site request attacks Forging / XSRF / CSRF attacks - more on this in Security for GWT Applications .
The best way would be to double-check the value that you get from the cookie, and with the one that was sent to the server using other means - as part of the request (header, custom field, etc.).
In addition, there are many tutorials on the topic - just looking for Java authentication (servlet) - this is not necessary for the GWT-specific. The Google Web Toolkit Group also has many threads about the topic .
source
share