login using supplied user/pwd.
Note that login must be the first command if used
- Parameters:
-
| user | username |
| pwd | password |
- Returns:
- returns
true on success
Implements de.alysis.r.basemodel.connection.BaseConnection. 00129 {
00130 logger.debug("login(String user, String pwd) called.");
00131 try {
00132 c.login(user, pwd);
00133 } catch (RSrvException e) {
00134 String message = "Exception from Rserve. ";
00135 logger.error(message, e);
00136 throw new ModelException(e.getLocalizedMessage());
00137 }
00138 }
|