Conect.client
Interface UserServiceInterface

All Known Implementing Classes:
UserService

public interface UserServiceInterface

Author:
Tools Integration team

Method Summary
 java.lang.String userLogin(java.lang.String username, java.lang.String password)
          Logs a user into the system and returns the user's name
 boolean userLogout(java.lang.String username)
          Logs a user out of the system
 

Method Detail

userLogin

java.lang.String userLogin(java.lang.String username,
                           java.lang.String password)
                           throws InvalidUserException
Logs a user into the system and returns the user's name

Parameters:
username - Username of the user to be logged in
password - Password of the user to be logged in
Returns:
String containing the logged in user in the format "firstname lastname" in all lowercase
Throws:
InvalidUserException - if log in is unsuccessful

userLogout

boolean userLogout(java.lang.String username)
Logs a user out of the system

Parameters:
username - Username of the user to be logged out
Returns:
true if log out is successful, false if unsuccessful