Scenario: When logging in, Bob and bob are treated differently. I want to treat them as the same.
Solution: This can be done using the domain server property in naming/node.properties
property server.login.usernamecase = true
When true is specified, users will be treated the same regardless of case entered. Bob, BOB and bob are identical.
Notes
- If the underlying security system is case sensitive, do not use this option. LDAP/Active directory is typically not case sensitive.
- If you have duplicate users, you cannot enable this option. You must first remove any duplicates. If not, when the Domain Server started, it will fail with a SecurityException indicating Duplicate usernames exists with possible different cases