### _Why are the changes needed?_ To simplify the method calling via reflection in Authz's `AccessRequest`, including codes from pull #3308 introduced. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #3945 from bowenliang123/3300-followup. Closes #3300 3e3f2bf8e [liangbowen] move exception throwing in `invoke` method ff1c9a05e [liangbowen] import java.util.{HashMap => JHashMap} 2848083e4 [liangbowen] import java.util.{Set => JSet} a9b4240fb [liangbowen] import java.util.{Set => JSet} 408977e89 [liangbowen] correct error handling in AccessRequest c785a251c [liangbowen] use invokeAs 9f9c6a1d9 [liangbowen] rename invokeWithCast to invokeAs 258be28f8 [liangbowen] introduce `invokeWithCast` in AuthZUtils for simplifying object casting f9902099a [liangbowen] simplify reflection method calling in AccessRequest da767db88 [liangbowen] lint 3b82c3112 [liangbowen] unused imports d4a71dac5 [liangbowen] unused imports 0c57d0de9 [liangbowen] simply getUserGroupsFromUserStore with reflection methods Authored-by: liangbowen <liangbowen@gf.com.cn> Signed-off-by: Kent Yao <yao@apache.org> |
||
|---|---|---|
| .. | ||
| server/kyuubi-server-plugin | ||
| spark | ||
| README.md | ||
For developers
This folder contains plugins/extension for kyuubi server and different engine types.
- ext
- kyuubi-server
- spark
- flink
- trino
- hive
- others
- ...