Modified the format of password_file.conf now accept only sha256 hashed passwords

This commit is contained in:
andrea
2015-05-13 22:25:05 +02:00
parent 1cd044ffda
commit 29bdd2f8fb
6 changed files with 54 additions and 23 deletions
@@ -17,7 +17,9 @@ package org.eclipse.moquette.spi.impl;
import org.eclipse.moquette.server.IAuthenticator;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
/**
*
@@ -47,5 +49,5 @@ public class FileAuthenticatorTest {
assertFalse(auth.checkValid("testuser2", "passwd"));
}
}