Vaadin 14 URL parameter in MainView before LoginForm

Good Morning.
I have an application based on SimpleApp (my-started-project) where I need to pass the database name in the URL (example: localhost:8080/myapp?bdname) to connect to the database “bdname” before showing the LoginForm. In Vaadin, 13 worked normally, taking the parameter in MainView’s setParameter method. However, in version 14, the method is not being called when the app starts. Can someone help me?