I am new to Vaadin and have to create a Vadin project as a submission for my university.
I have created a new project with Vadin-Start and am now faced with the challenge that the Vaadin-Start login page does not meet the requirements. I feel like I’ve already read everything on the subject and haven’t found any really useful information.
So here is my question to you. Is there a way to replace the default login page with a custom one?
…I don’t think I need to mention that I have almost no experience with Spring Security. I’m practically a noob :/
So I would be very grateful for any tips you can give me :)
A possible login page that would meet our requirements would look like this:
Just the obvious question: why won’t the default login fit? Looking at the image, I don’t see anything that can’t be implemented. Just add your text / link below the LoginForm.
You can either follow Marco’s approach when using the ‘LoginOverlay’ - or you use the ‘LoginForm’ which does not have the gotcha about overlaying… which probably fits your screenshot a little bit more.
Note: using ‘LoginForm’ requires some additional styling so that it is centered.