Repository: incubator-zeppelin Updated Branches: refs/heads/master 2d85f3a95 -> 979d8a37f
[HOTFIX] Authentication doesn't work after upgrade to jetty9 ### What is this PR for? After the jetty9 upgrade https://github.com/apache/incubator-zeppelin/pull/831, authentication seems doesn't work. This PR fixes problem by applying shiro filter only /api/* ### What type of PR is it? Hot Fix ### Todos * [x] - Fix ### What is the Jira issue? ### How should this be tested? enable authentication (edit conf/shiro.ini) and try login ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: Lee moon soo <[email protected]> Closes #870 from Leemoonsoo/jetty9_hotfix and squashes the following commits: 431a861 [Lee moon soo] Apply shiro filter to /* and use authcBasic in shiro.ini instead of authc ea198c4 [Lee moon soo] Apply shiro filter from /* to only /api/* Project: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/commit/979d8a37 Tree: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/tree/979d8a37 Diff: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/diff/979d8a37 Branch: refs/heads/master Commit: 979d8a37fde134ca711357d67aac882aae75c857 Parents: 2d85f3a Author: Lee moon soo <[email protected]> Authored: Tue May 3 11:38:24 2016 -0700 Committer: Lee moon soo <[email protected]> Committed: Tue May 3 12:06:43 2016 -0700 ---------------------------------------------------------------------- conf/shiro.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/979d8a37/conf/shiro.ini ---------------------------------------------------------------------- diff --git a/conf/shiro.ini b/conf/shiro.ini index 3b161f0..a118df3 100644 --- a/conf/shiro.ini +++ b/conf/shiro.ini @@ -37,4 +37,4 @@ shiro.loginUrl = /api/login # To enfore security, comment the line below and uncomment the next one /api/version = anon /** = anon -#/** = authc +#/** = authcBasic
