Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring Security + Vaadin 7 login page #284

Open
Artgit opened this issue May 23, 2016 · 2 comments
Open

Spring Security + Vaadin 7 login page #284

Artgit opened this issue May 23, 2016 · 2 comments

Comments

@Artgit
Copy link

Artgit commented May 23, 2016

Do I need to use a dedicated SpringUI for my login page or I can simple use a login View inside of UI which should be secured with Spring Security ?

@peholmst
Copy link
Owner

It depends on how you are using Spring Security. If you go with a login view inside the UI, you can't use filter-based Spring Security at all and then you have to handle the UI security yourself. If you go with a separate UI, you can use filter-based security. In Vaadin4Spring, I refer to these modes as managed security (your Vaadin app manages the security) and shared security (your Vaadin app participates in an existing Spring Security setup).

@Artgit
Copy link
Author

Artgit commented May 23, 2016

Ok, thanks. I'll go with a shared security and dedicated UI for login view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants