@AnonymousAllowed not working

Hi guys,

Just need a help here. I have an index page (IndexView.java) in which it loads by default when I access the application. But when I added the Spring Security, it redirects to login page. I also put @AnonymousAllowed in my IndexView.java but still login page shows by default. Is there a technique on this? Thank you. :slightly_smiling_face:

Are you using VaadinWebSecurity class to setup security?


Can you post your configuration?
Also enable debug log level for spring security may help to identify the issue


yeah sure


Hey, @versatile-zorse, I already fixed it.

Apologies for the late response. But all are okay now. :slightly_smiling_face:

Glad to hear you fixed the issue. :+1:

Could you please share what the problem was and how you fixed it?
It would be helpful for people facing the same issue