Repository navigation
Commit 9e13426
Expand the user name normalisation options in LockOutRealm
Add options to ignore invisible characters (charactersToIgnore with a
default set and additionalCharactersToIgnore), convert user names to
NFKC (normalizeUnicode), remove combining marks (stripCombiningMarks)
and collapse internal space (collapseInternalSpace). All are enabled by
default so that user names that LDAP servers and databases treat as the
same user are treated as the same user when making lock out decisions.
The character options support \uXXXX, \u{X...X} and \\ escape sequences
and return their value in the same escaped form.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>1 parent f442523 commit 9e13426
5 files changed
Lines changed: 956 additions & 13 deletions
File tree
- java/org/apache/catalina/realm
- test/org/apache/catalina/realm
- webapps/docs
- config
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
0 commit comments