It’s fairly easy to use custom JSP login page in Spring Security. Our application is based on Vaadin though and I don’t want to have JSP login page. What I want is custom fancy login window created as Vaadin widget.
Well technically I can use Vaadin’s FormLayout and name fields like j_username and j_password … but this is Java class and not JSP file, so what do I specify in http Spring Security element? I mean:
<http auto-config='true'>
<intercept-url pattern="/**" access="ROLE_USER" />
<form-login login-page='MyLoginWindow.java or what?' />
</http>
I’m totally unfamiliar with Spring Security, but one of our guys at Vaadin made a demo application a couple of years ago https://github.com/peholmst/SpringSecurityDemo. I don’t know if it’s still up-to-date or if it even answers your question, but perhaps you could have a look and see for yourself if you can get any answers from there. Otherwise you could perhaps ping Petter personally and see if he has any fresh ideas about the topic.