aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt/server/CommunicationManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/terminal/gwt/server/CommunicationManager.java')
-rw-r--r--src/com/vaadin/terminal/gwt/server/CommunicationManager.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/vaadin/terminal/gwt/server/CommunicationManager.java b/src/com/vaadin/terminal/gwt/server/CommunicationManager.java
index dc83e26e9b..0431785f68 100644
--- a/src/com/vaadin/terminal/gwt/server/CommunicationManager.java
+++ b/src/com/vaadin/terminal/gwt/server/CommunicationManager.java
@@ -619,8 +619,9 @@ public class CommunicationManager implements Paintable.RepaintRequestListener,
// Security: double cookie submission pattern unless disabled by
// property
- if (!"true".equals(application2
- .getProperty("disable-xsrf-protection"))) {
+ if (!"true"
+ .equals(application2
+ .getProperty(AbstractApplicationServlet.SERVLET_PARAMETER_DISABLE_XSRF_PROTECTION))) {
if (bursts.length == 1 && "init".equals(bursts[0])) {
// initial request, no variable changes: send key
String seckey = (String) request.getSession().getAttribute(