peholmst / vaadin4spring

Vaadin integration for Spring and Spring Boot
Apache License 2.0
264 stars 131 forks source link

Partially secured UIs #274

Open ssindelar opened 8 years ago

ssindelar commented 8 years ago

I don't know if it is currently possible, but I need to secure just some views with a login and leave the UI without login.

I tried to add an anonymous matcher for UI path, but this doesn't work because, when I open a secured-View a NullPointerException is thrown at DefaultVaadinSharedSecurity:194 because the SecurityContext is not set.

I think it would be a nice addition to just have a login for some views.

peholmst commented 8 years ago

It sounds like something that should be managed within the application itself, but I can see if there is any way the framework could help with this.