public void changePassword(final String userId, final String newPassword)
throws UserNotFoundException, InvalidConfigurationException
{
try {
this.configuration.runWrite(new ConfigurationManagerAction()
{
public void run() throws Exception {
final CUser secUser = configuration.readUser(userId);
secUser.setPassword(hashPassword(newPassword));
configuration.updateUser(secUser);