diff options
author | Leif Åstrand <leif@vaadin.com> | 2014-07-22 12:59:14 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2014-07-22 12:59:32 +0300 |
commit | 86e1c718578f8c81323b47e3efed03178d123c03 (patch) | |
tree | 9eaf3779ce79b67963c9fcb3a43c7fd6c39f25fd /shared | |
parent | aca2902c9cafcb02db19a0cdd42b1488786c0f56 (diff) | |
parent | 6ae7843e46ee906adfc99bde71ded5f296caea74 (diff) | |
download | vaadin-framework-86e1c718578f8c81323b47e3efed03178d123c03.tar.gz vaadin-framework-86e1c718578f8c81323b47e3efed03178d123c03.zip |
Merge branch 'master' into grid
Change-Id: I6878b3c64eb5c98174537f4e5864e2ff2cb1863f
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/ApplicationConstants.java | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/shared/src/com/vaadin/shared/ApplicationConstants.java b/shared/src/com/vaadin/shared/ApplicationConstants.java index da4ac7450d..15eefe3b21 100644 --- a/shared/src/com/vaadin/shared/ApplicationConstants.java +++ b/shared/src/com/vaadin/shared/ApplicationConstants.java @@ -1,12 +1,12 @@ /* * Copyright 2000-2014 Vaadin Ltd. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -86,7 +86,7 @@ public class ApplicationConstants implements Serializable { /** * The name of the debug version of the javascript containing push support. * The file is located in the VAADIN directory. - * + * * @since 7.1.6 */ public static final String VAADIN_PUSH_DEBUG_JS = "vaadinPush.debug.js"; @@ -98,14 +98,14 @@ public class ApplicationConstants implements Serializable { /** * The name of the parameter used to transmit RPC invocations - * + * * @since 7.2 */ public static final String RPC_INVOCATIONS = "rpc"; /** * The name of the parameter used to transmit the CSRF token - * + * * @since 7.2 */ public static final String CSRF_TOKEN = "csrfToken"; @@ -114,9 +114,15 @@ public class ApplicationConstants implements Serializable { * The name of the parameter used to transmit the sync id. The value can be * set to -1 e.g. when testing with pre-recorded requests to make the * framework ignore the sync id. - * + * * @see com.vaadin.ui.ConnectorTracker#getCurrentSyncId() * @since 7.2 */ public static final String SERVER_SYNC_ID = "syncId"; + + /** + * Default value to use in case the security protection is disabled. + */ + public static final String CSRF_TOKEN_DEFAULT_VALUE = "init"; + } |