How to implement secure login

Thanks! - I’ll have a look at this approach, but this would mean I need to implement a non-Vaadin based login mechanism (or probably via two Vaadin applications).

Is there a chance to get the login process (I described above) implemented within just one Vaadin application?