PermissionsIT - implement test cases with sasl enabled
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 487
- Avg merge
- 4d 5h
- Merged PRs (30d)
- 13
Description
**Is your feature request related to a problem? Please describe.**
This ticket replaces TODOs in `PermissionsIT`:
https://github.com/apache/accumulo/blob/04ac8b222d866fab2552087cbffa150c2d402a3c/test/src/main/java/org/apache/accumulo/test/functional/PermissionsIT.java#L420-L424 and
https://github.com/apache/accumulo/blob/04ac8b222d866fab2552087cbffa150c2d402a3c/test/src/main/java/org/apache/accumulo/test/functional/PermissionsIT.java#L593-L597
Which requests that the test cases, where delegation tokens are attempted to be obtained with sasl enabled, are implemented.
**Describe the solution you'd like**
Enable sasl for this IT and attempt to obtain a delegation token with and without the needed permissions.
**Additional context**
These cases where investigated in https://github.com/apache/accumulo/pull/3001 and the comments were changed to remove the TODO.
Contributor guide
Research direction
Start with test/src/main/java/org/apache/accumulo/test/functional/PermissionsIT.java, especially the TODOs around lines 420-424 and 593-597, and review the investigation in pull request 3001. Enable SASL for this integration test, then cover delegation-token attempts both with and without the required permissions; run PermissionsIT to verify the cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- authentication, authorization, security, testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 56/100