code: public XAConnection getXAConnection(String user,
                                          String password) throws SQLException {
  
          validateSpecifiedUserAndPassword(user, password);
  
          return getXAConnection();
      }
docs: Gets a new physical connection after validating the given username
  and password.
  
  @param user String which must match the 'user' configured for this
  JDBCXADataSource.
  @param password  String which must match the 'password' configured
  for this JDBCXADataSource.
  
  @see #getXAConnection()