Remove by username, not by User.

This commit is contained in:
Michael Jumper
2013-01-30 22:23:04 -08:00
parent c6e414025a
commit 2925db8945

View File

@@ -77,11 +77,12 @@ public interface UserDirectory {
void updateUser(User user) throws GuacamoleException; void updateUser(User user) throws GuacamoleException;
/** /**
* Removes the given User from the overall set of available Users. * Removes the user with the given username from the overall set of
* available Users.
* *
* @throws GuacamoleException If an error occurs while removing the user, * @throws GuacamoleException If an error occurs while removing the user,
* or if removing user is not allowed. * or if removing user is not allowed.
*/ */
void removeUser(User user) throws GuacamoleException; void removeUser(String username) throws GuacamoleException;
} }