* User name.
* @param aPassword
* Password.
- * @param aGroup
- * Group.
*
* @return New user.
*
* @throws UserMgtException
* In case the user cannot be created.
*/
- User createUser(String aUsername, String aPassword, Group aGroup)
+ User createUser(String aUsername, String aPassword)
throws UserMgtException;
/**
boolean add(User aUser);
/**
- * Removes a user. If the user does not exist, nothing happens.
- *
- * @param aUser
+ * Removes a user.
+ *
+ * @param aUser User to remove
+ * @return True iff user was removed.
*
*/
boolean remove(User aUser);
* @return The number of users.
*/
int size();
+
+ /**
+ * Clears the user cache.
+ */
+ void clearCache();
}