Integrated with Spring Security

I notice a few dozens people in this forum have worked on Vaadin and Spring Security integration as a part of Spring integration. I would like to know how to deal with a custom Spring Security login form which has a special url and field names. An embedded HTML form seems to be a solution. If yes, are any other ones?

Here is one
. It uses jsp page as a login page.