jenkinsci / jenkinsci/active-directory-plugin
[JENKINS-12607] Active directory user names should not be case sensitive.
- Dominant language
- Java
- Stars
- 53
- Forks
- 115
- PR merge metrics
- No merged PRs in 30d
Description
Active directory user names should not be case sensitive. For example if I add the user "paul" then I would expect to be able to also login as "Paul", "pAul" or any other case combination.
At the moment this won't match any user name and fail to login the user in, or worse match none and apply "authenticated user" permissions. This seems to confuse a lot of users.
If there is a use case where case sensitivity is required then I think there should be a toggle option to enable or disable it.
---
Originally reported by
paulm, imported from: Active directory user names should not be case sensitive.
Raw content of original issue
Active directory user names should not be case sensitive. For example if I add the user "paul" then I would expect to be able to also login as "Paul", "pAul" or any other case combination.
At the moment this won't match any user name and fail to login the user in, or worse match none and apply "authenticated user" permissions. This seems to confuse a lot of users.
If there is a use case where case sensitivity is required then I think there should be a toggle option to enable or disable it.
- environment:
Windows Server 2008.
Contributor guide
Research direction
Start in the active-directory-plugin authentication flow and trace how usernames are matched during login. Reproduce the issue with mixed-case variants of the same account, then check the existing tests or add coverage for the expected behavior. Done means supported case variants authenticate consistently without applying incorrect permissions, while any required case-sensitivity option is clearly addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100