public static class XsrfProtectedServiceServlet extends Object
The servlet base class for RPC service implementations using default XSRF protection tied to authentication session cookie.
XSRF token validation is performed by generating MD5 hash of the session
cookie and comparing supplied XsrfToken
with the generated hash.
Session cookie name is specified by the "gwt.xsrf.session_cookie_name"
context parameter in web.xml
.
XsrfTokenService
can be used by
clients to obtain XsrfToken
s that will pass validation performed by
this class.
Copyright © 2018. All rights reserved.