Projects tigase _server server-core Issues #1262
Dedicated configuration for username/password instead of passing them through JDBC URL (#1262)
wojciech.kapcia@tigase.net opened 3 years ago

Currently we only support passing database credentials via JDBC ULR parameters. This has the downside of not handling well special characters in password.

  1. two additional fields in DataSource (username, password; next to the url); if any of them is set explicitly, override the one from the URL
  2. use DriverManager.getConnection(url,username,password) method to pass credentials
  3. adjust SchemaManager to handle it correctly (including root credentials (though, with #issue #1050 it may not be needed)
  4. adjust MongoDB implementation
wojciech.kapcia@tigase.net batch edited 6 months ago
Name Previous Value Current Value
Iterations
empty
Candidate for next major release
issue 1 of 1
Type
New Feature
Priority
Normal
Assignee
Version
Candidate for next major release
Subsystem
Database
Issue Votes (0)
Watchers (2)
Reference
tigase/_server/server-core#1262
Please wait...
Page is in error, reload to recover