Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Database
-
Labels:None
-
Acceptance Test - Add?:No
Description
It seems that the JDBC auth provider looks for escaped JIDs in remote databases.
So a user "John Miller" can never be authenticated using this auth provider. It would need to change it's account to "John\20Miller" which is usually not possible.
Add a switch/system property to enable the usage of unencoded JIDs.
Add another switch to allow "John Miller". Currently /src/java/org/jivesoftware/openfire/auth/JDBCAuthProvider.java uses
"98: username = username.trim().toLowerCase();" so the user name must be stored as "john miller".
So one should have the option to use
"98: username = username.trim();" without toLowerCase().