spring
spring copied to clipboard
ViewAccessControl and ViewInstanceAccessControl for specific UI
Today view access control beans are "global" for all UIs available on application.
I propose to adjust it to support ui class parameter in UIScope annotation like SpringView annotation does.
Then, vaadin-spring can use this information to only invoke VAC and VIAC beans when in correct UI.
Currently we can work with ui parameter of theses interfaces, but we cannot inject specific UI beans on it.
Appears that SpringNavigator have the same issue, you cannot have multiple navigators beans for different UIs on the same application.