You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2017/06/29 05:48:31 UTC

[24/50] kylin git commit: disable csrf for spring 4

disable csrf for spring 4


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/7661ad79
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/7661ad79
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/7661ad79

Branch: refs/heads/master
Commit: 7661ad79b40e9defcd02019f9b55ce0299459dd2
Parents: 73faf99
Author: Roger Shi <ro...@hotmail.com>
Authored: Tue Jun 20 18:40:38 2017 +0800
Committer: Hongbin Ma <ma...@kyligence.io>
Committed: Tue Jun 20 19:14:02 2017 +0800

----------------------------------------------------------------------
 server/src/main/resources/kylinSecurity.xml | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/7661ad79/server/src/main/resources/kylinSecurity.xml
----------------------------------------------------------------------
diff --git a/server/src/main/resources/kylinSecurity.xml b/server/src/main/resources/kylinSecurity.xml
index 43a0082..506b2f1 100644
--- a/server/src/main/resources/kylinSecurity.xml
+++ b/server/src/main/resources/kylinSecurity.xml
@@ -29,6 +29,8 @@
         <scr:expression-handler ref="expressionHandler"/>
     </scr:global-method-security>
 
+    <scr:csrf disabled="true"/>
+
     <!-- acl config -->
     <bean id="aclPermissionFactory" class="org.apache.kylin.rest.security.AclPermissionFactory"/>