com.toremote.gateway.connection
Interface UserListInterface
- All Known Implementing Classes:
- AbstractUserList
public interface UserListInterface
getUserByName
User getUserByName(java.lang.String name,
java.lang.String password)
- Parameters:
name
- password
-
- Returns:
- null if user name or password doesn't match
hasUsers
boolean hasUsers()
- Returns:
- true if there are users. return false if you don't have users. Only server list is given to user
getUserByName
User getUserByName(java.lang.String name)
- Parameters:
name
-
- Returns:
- null if not found or no user
update
void update(UserListInterface ul)
- update your user list with a new one. Always do nothing here.
- Parameters:
ul:
- user list used for updating.
onLogin
void onLogin(User usr)
- Parameters:
usr
-