apache / apache/accumulo

PermissionsIT - implement test cases with sasl enabled

Open
#3,027 0 comments 0 reactions 0 assignees View on GitHub
enhancement test
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.