Minor, added null check on user and password in FileAuthenticator

This commit is contained in:
andrea
2015-07-23 19:26:38 +02:00
parent 90cf8eabd8
commit 4a7c90e5bc
@@ -107,6 +107,10 @@ public class FileAuthenticator implements IAuthenticator {
}
public boolean checkValid(String username, String password) {
if (username == null || password == null) {
LOG.info("username or password was null");
return false;
}
String foundPwq = m_identities.get(username);
if (foundPwq == null) {
return false;