Problem with permitAll in Vaadin and WebSecurity - not working
问题 I have few views made in Vaadin by @Route and now I want to add Security and some Login. In my SecurityConfiguration class I'm setting antMatchers.permitAll() only for 2 views and for the rest with Role ADMIN . But it is not working as I think it should. It demands login to access every view, and after login I have access to all views no matter what role has the user. I hoped this tutorial will help me, but in there are no views accessible without login. Securing Your App With Spring Security