You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Andreas Kohlbecker <ko...@web.de> on 2005/10/11 16:16:36 UTC

DBCP PerUserPoolDataSource - changing a users password

We are using DBCP PerUserPoolDataSource as DataSource in tomcat 5.5.

In our web application a user can change its password. When the password has been changed the password stored in the pool is different from the users new password. Requesting a Connection for this user by calling getConnection(String username, String password) throws an expected exception: 

java.sql.SQLException: Given password did not match password used to create the PooledConnection.

Which means the user is not able get connections to the database.

Is it somehow possible to tell the PerUserPoolDataSource about the changed password, refresh the ConnectionPool? What can be done to solve this situation?

best regards
Andreas Kohlbecker







______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org