public interface ViewProviderAccessDelegate
SpringViewProvider
provides a view. If any of the view providers deny access, the view provider will act like no such
view ever existed, or show an access denied view.| Modifier and Type | Method and Description |
|---|---|
boolean |
isAccessGranted(String beanName,
com.vaadin.ui.UI ui)
Checks if the current user has access to the specified view and UI.
|
boolean |
isAccessGranted(String beanName,
com.vaadin.ui.UI ui,
com.vaadin.navigator.View view)
Checks if the current user has access to the specified view instance and UI.
|
boolean isAccessGranted(String beanName, com.vaadin.ui.UI ui)
beanName - the bean name of the view, never null.ui - the UI, never null.boolean isAccessGranted(String beanName, com.vaadin.ui.UI ui, com.vaadin.navigator.View view)
isAccessGranted(String, com.vaadin.ui.UI), when the view instance
has already been created, but before it has been returned by the view provider.beanName - the bean name of the view, never null.ui - the UI, never null.view - the view instance, never null.Copyright © 2015. All rights reserved.