finfo.setProperty("user", userArg);
}
if (passwordArg != null) {
finfo.setProperty("password", passwordArg);
}
if (!auth.authenticate((String)null, finfo)) {
// not a valid user
throw Util.generateCsSQLException(
SQLState.NET_CONNECT_AUTH_FAILED,
MessageService.getTextMessage(MessageId.AUTH_INVALID));
}