Hey,
i implemented a MongoAuthProvider in a first version. By starting to write the test units i'm faced with a strange problem.
When i am running the test normal, i am getting an error from out of
io.vertx.ext.auth.impl.AuthServiceImpl.loginWithTimeout(JsonObject, long, Handler<AsyncResult<String>>)
line 67: resultHandler.handle(Future.failedFuture("null principal"));
When i am debugging that, everything is fine and the test finishes positiv.
When i am setting a breakpoint onto the line 67, i can see, that the result should be positive, cause there is existing a principal inside the res.
Thus i guess i made some mistakes here, because i'm not yet used to the principals of vertx.
Could somebody check that and give me a hint, please?
Start the test io.vertx.ext.auth.mongo.MongoAuthTest
tia, Mike