To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
I have a problem for user access, I use spring security spring security and form login of vaadin. @Secured annotation does not work. Then my LoginMainView is accessible by all users and I want it to be accessible just by Admin. I am new in spring security and vaadin. I put my project in the github to see what I did if is good or not? And where is the problem?
my path login is : http://localhost:8080/vaadinsecurity/
Link : https://github.com/Aladdinko/VaadinSpringSecurityy
thank you, is you need more information don't hesitate to contact me
One good place to start with Spring security and Vaadin is: https://vaadin.com/blog/-/blogs/filter-based-spring-security-in-vaadin-applications. I'm unfamiliar with the xml-based configuration of Spring security, but if there is form login doesn't Spring security in this case then expect that the login data to be POST:ed to a certain url? This doesn't seem to happen here.