forked from TuxCoding/FastLogin
[Experimental] Enable paranoid to hide MySQL details
This commit is contained in:
@ -68,6 +68,10 @@ public class AuthStorage {
|
|||||||
// prefer encrypted if possible
|
// prefer encrypted if possible
|
||||||
config.addDataSourceProperty("sslMode", "PREFERRED");
|
config.addDataSourceProperty("sslMode", "PREFERRED");
|
||||||
|
|
||||||
|
// adding paranoid hides hostname, username, version and so
|
||||||
|
// could be useful for hiding server details
|
||||||
|
config.addDataSourceProperty("paranoid", "true");
|
||||||
|
|
||||||
// enable MySQL specific optimizations
|
// enable MySQL specific optimizations
|
||||||
// disabled by default - will return the same prepared statement instance
|
// disabled by default - will return the same prepared statement instance
|
||||||
config.addDataSourceProperty("cachePrepStmts", true);
|
config.addDataSourceProperty("cachePrepStmts", true);
|
||||||
|
Reference in New Issue
Block a user