AMBARI-7530. Admin: /users and /groups resources should only be accessible from AMBARI.ADMIN. Missing import.
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/be13513c Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/be13513c Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/be13513c Branch: refs/heads/trunk Commit: be13513cf3db7cfc7a16d64766db95b5dd1e19bf Parents: f92ad8f Author: Siddharth Wagle <swa...@hortonworks.com> Authored: Fri Sep 26 17:28:04 2014 -0700 Committer: Siddharth Wagle <swa...@hortonworks.com> Committed: Fri Sep 26 17:28:04 2014 -0700 ---------------------------------------------------------------------- .../server/security/authorization/AmbariAuthorizationFilter.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/be13513c/ambari-server/src/main/java/org/apache/ambari/server/security/authorization/AmbariAuthorizationFilter.java ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/java/org/apache/ambari/server/security/authorization/AmbariAuthorizationFilter.java b/ambari-server/src/main/java/org/apache/ambari/server/security/authorization/AmbariAuthorizationFilter.java index f1c2a26..b184a59 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/security/authorization/AmbariAuthorizationFilter.java +++ b/ambari-server/src/main/java/org/apache/ambari/server/security/authorization/AmbariAuthorizationFilter.java @@ -19,6 +19,7 @@ package org.apache.ambari.server.security.authorization; import java.io.IOException; +import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.servlet.Filter;