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 <[email protected]> Authored: Tue Jun 20 18:40:38 2017 +0800 Committer: Hongbin Ma <[email protected]> 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"/>
