Repository: ambari Updated Branches: refs/heads/trunk 190094ba2 -> 7e61e3a90
AMBARI-21976. Log Search: remove file patterns from web security config (oleewere) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9420b6f7 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9420b6f7 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9420b6f7 Branch: refs/heads/trunk Commit: 9420b6f70be0ca15b8974f8e1872c754b387976c Parents: 190094b Author: Oliver Szabo <[email protected]> Authored: Sun Sep 17 15:40:05 2017 +0200 Committer: Oliver Szabo <[email protected]> Committed: Mon Sep 18 12:13:45 2017 +0200 ---------------------------------------------------------------------- .../org/apache/ambari/logsearch/conf/SecurityConfig.java | 9 --------- 1 file changed, 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/9420b6f7/ambari-logsearch/ambari-logsearch-server/src/main/java/org/apache/ambari/logsearch/conf/SecurityConfig.java ---------------------------------------------------------------------- diff --git a/ambari-logsearch/ambari-logsearch-server/src/main/java/org/apache/ambari/logsearch/conf/SecurityConfig.java b/ambari-logsearch/ambari-logsearch-server/src/main/java/org/apache/ambari/logsearch/conf/SecurityConfig.java index 5ba0ac0..cb8124e 100644 --- a/ambari-logsearch/ambari-logsearch-server/src/main/java/org/apache/ambari/logsearch/conf/SecurityConfig.java +++ b/ambari-logsearch/ambari-logsearch-server/src/main/java/org/apache/ambari/logsearch/conf/SecurityConfig.java @@ -197,16 +197,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter { matchers.add(new AntPathRequestMatcher("/resources/**")); matchers.add(new AntPathRequestMatcher("/index.html")); matchers.add(new AntPathRequestMatcher("/favicon.ico")); - matchers.add(new AntPathRequestMatcher("/styles*")); - matchers.add(new AntPathRequestMatcher("/scripts*")); matchers.add(new AntPathRequestMatcher("/assets/**")); - matchers.add(new AntPathRequestMatcher("/vendor*")); - matchers.add(new AntPathRequestMatcher("/main*")); - matchers.add(new AntPathRequestMatcher("/inline*")); - matchers.add(new AntPathRequestMatcher("/polyfills*")); - matchers.add(new AntPathRequestMatcher("/glyphicons*")); - matchers.add(new AntPathRequestMatcher("/fontawsome*")); - matchers.add(new AntPathRequestMatcher("/Roboto*")); matchers.add(new AntPathRequestMatcher("/templates/**")); matchers.add(new AntPathRequestMatcher("/api/v1/info/**")); matchers.add(new AntPathRequestMatcher("/api/v1/public/**"));
