code: public PooledConnection getPooledConnection(String user,
              String password) throws SQLException {
  
          validateSpecifiedUserAndPassword(user, password);
  
          return getPooledConnection();
      }
docs: Performs a getPooledConnection() after validating the given username
  and password.
  
  @param user String which must match the 'user' configured for this
  JDBCConnectionPoolDataSource.
  @param password  String which must match the 'password' configured
  for this JDBCConnectionPoolDataSource.
  
  @see #getPooledConnection()