Add Authorization Components to helix-rest (#1967) (#1981)
authorNeal Sun <nesun@linkedin.com>
Mon, 14 Mar 2022 23:30:43 +0000 (16:30 -0700)
committerGitHub <noreply@github.com>
Mon, 14 Mar 2022 23:30:43 +0000 (16:30 -0700)
commit54e25ce30b1de41a7b4299d35809961d5c962570
treec8af7f0a2d84ec8ce6c81688586ae37b32e51c3d
parentcbf35baa22a90a75470921726eb2e0417a6e0123
Add Authorization Components to helix-rest (#1967) (#1981)

* Add Authorization Components to helix-rest

* Address some comments
21 files changed:
helix-rest/src/main/java/org/apache/helix/rest/server/HelixRestServer.java
helix-rest/src/main/java/org/apache/helix/rest/server/authValidator/AuthValidator.java [new file with mode: 0644]
helix-rest/src/main/java/org/apache/helix/rest/server/authValidator/NoopAuthValidator.java [new file with mode: 0644]
helix-rest/src/main/java/org/apache/helix/rest/server/filters/ClusterAuth.java [new file with mode: 0644]
helix-rest/src/main/java/org/apache/helix/rest/server/filters/ClusterAuthFilter.java [new file with mode: 0644]
helix-rest/src/main/java/org/apache/helix/rest/server/filters/NamespaceAuth.java [new file with mode: 0644]
helix-rest/src/main/java/org/apache/helix/rest/server/filters/NamespaceAuthFilter.java [new file with mode: 0644]
helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/ClusterAccessor.java
helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/InstancesAccessor.java
helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/JobAccessor.java
helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/MetadataAccessor.java
helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/PerInstanceAccessor.java
helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/PropertyStoreAccessor.java
helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/ResourceAccessor.java
helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/ResourceAssignmentOptimizerAccessor.java
helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/TaskAccessor.java
helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/WorkflowAccessor.java
helix-rest/src/main/java/org/apache/helix/rest/server/resources/metadata/NamespacesAccessor.java
helix-rest/src/main/java/org/apache/helix/rest/server/resources/metadatastore/MetadataStoreDirectoryAccessor.java
helix-rest/src/main/java/org/apache/helix/rest/server/resources/zookeeper/ZooKeeperAccessor.java
helix-rest/src/test/java/org/apache/helix/rest/server/TestAuthValidator.java [new file with mode: 0644]