The current signature in DB is like
public boolean authenticate(String username, char[] passwd ) throws MongoException
however the only things thrown by the method are NPE & IllegalStateException. It is confusing to suppose the failure to authenticate could throw an exception while in fact it only returns a boolean