boolean de.alysis.r.submit.model.SubmitImpl.login String  userId,
String  password
throws InvalidInputException, ModelException, IOException
 

Login.

Parameters:
userId 
password 
Returns:
true for successful login.
Exceptions:
InvalidInputException 
ModelException 
IOException 

Implements de.alysis.r.submit.model.Submit.

00058                                                                                   {
00059                 if (userId == null) {
00060                         String message = "Missing user id.";
00061                         logger.error(message);
00062                         throw new InvalidInputException(message);
00063                 }
00064                 if (password == null) {
00065                         String message = "Missing password.";
00066                         logger.error(message);
00067                         throw new InvalidInputException(message);
00068                 }
00069                 if (connection == null) {
00070                         String message = "Not connected.";
00071                         logger.error(message);
00072                         throw new ModelException(message);
00073                 }
00074                 connection.login(userId, password);
00075                 logger.info("New login from user " + userId );
00076                 return connection.isConnected();
00077         }


Generated on Mon Jun 26 18:45:59 2006 for RSubmit by  doxygen 1.4.6