package com.example.starter; import io.vertx.core.Vertx; import io.vertx.ext.auth.jwt.JWTAuth; import io.vertx.ext.auth.jwt.JWTAuthOptions; import io.vertx.ext.auth.KeyStoreOptions; import com.example.starter.JwtAuthProvider; public class JwtAuthProvider { public static JWTAuth createJwtAuth(Vertx vertx) { return JWTAuth.create(vertx, new JWTAuthOptions() .setKeyStore(new KeyStoreOptions() .setPath("keystore.jceks") .setPassword("secret"))); } }