【发布时间】:2012-02-13 16:26:44
【问题描述】:
我编译了我的 gwtp 应用程序,并尝试在 jboss 中运行,它抛出了这个:
严重:RPC 提供的 Cookie 与请求 Cookie 不匹配,正在中止 行动,可能的 XSRF 攻击。 (也许你忘了设置安全 cookie?)在执行动作时: hu.irf.portal.ui.shared.fnc.torzs.GetOrgList 2012.02.13。 16:55:30 com.gwtplatform.dispatch.server.AbstractDispatchServiceImpl cookieMatch INFO:客户端在 RPC 中没有发送 cookie。 (你忘了 绑定安全cookie客户端?或者它可能是一次攻击。)
在开发模式下运行良好。
我尝试将tomcat的context.xml中的useHttpOnly参数设置为false,但也不起作用。
【问题讨论】:
-
INFO: No cookie sent by client in RPC.-- 你在发送 cookie 吗?如果没有,您是否希望在服务器上有一个?
标签: gwt tomcat jboss gwt-platform