-
Notifications
You must be signed in to change notification settings - Fork 868
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KYUUBI #3300] [FOLLOWUP] simply reflection method callings in Authz'…
…s AccessRequest ### _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 3e3f2bf [liangbowen] move exception throwing in `invoke` method ff1c9a0 [liangbowen] import java.util.{HashMap => JHashMap} 2848083 [liangbowen] import java.util.{Set => JSet} a9b4240 [liangbowen] import java.util.{Set => JSet} 408977e [liangbowen] correct error handling in AccessRequest c785a25 [liangbowen] use invokeAs 9f9c6a1 [liangbowen] rename invokeWithCast to invokeAs 258be28 [liangbowen] introduce `invokeWithCast` in AuthZUtils for simplifying object casting f990209 [liangbowen] simplify reflection method calling in AccessRequest da767db [liangbowen] lint 3b82c31 [liangbowen] unused imports d4a71da [liangbowen] unused imports 0c57d0d [liangbowen] simply getUserGroupsFromUserStore with reflection methods Authored-by: liangbowen <liangbowen@gf.com.cn> Signed-off-by: Kent Yao <yao@apache.org>
- Loading branch information
1 parent
70c0451
commit 8b8c7d0
Showing
5 changed files
with
43 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters