Fixed #359 allow altering the username/password through JMX at runtime. See javadoc for HikariConfigMXBean.

pull/372/head
Brett Wooldridge 10 years ago
parent 020ae04e06
commit a4d1156d08

@ -152,6 +152,25 @@ public interface HikariConfigMXBean
*/
void setMaximumPoolSize(int maxPoolSize);
/**
* Set the password used for authentication. Changing this at runtime will apply to new connections only.
* Altering this at runtime only works for DataSource-based connections, not Driver-class or JDBC URL-based
* connections.
*
* @param username the database password
*/
void setPassword(String password);
/**
* Set the username used for authentication. Changing this at runtime will apply to new connections only.
* Altering this at runtime only works for DataSource-based connections, not Driver-class or JDBC URL-based
* connections.
*
* @param username the database username
*/
void setUsername(String username);
/**
* The name of the connection pool.
*

Loading…
Cancel
Save