package axiom.delauth.token;

public class DemoAuthenticator implements Authenticator {

	public boolean authenticate(String username, String password) {
        return !(null == username || null == password) && password.equals("123456");
    }

}

package axiom.delauth.token;

public class DemoAuthenticator implements Authenticator {

	public boolean authenticate(String username, String password) {
		return password.equals("123456");
	}

}

--- 
+++ 
@@ -3,7 +3,7 @@
 public class DemoAuthenticator implements Authenticator {
 
 	public boolean authenticate(String username, String password) {
-		return password.equals("123456");
-	}
+        return !(null == username || null == password) && password.equals("123456");
+    }
 
 }
Fix DemoAuthenicator to require username and password not be null. (eclipse)
