Interface RouteAccessControl
-
- All Known Implementing Classes:
DefaultRouteAccessControl
public interface RouteAccessControlChecks access before entering a navigation target and can evaluate access to specific navigation targets or route paths.
-
-
Field Summary
Fields Modifier and Type Field Description static intPRIORITYThepriorityused to register theBeforeEnterListenerused to perform access control.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheckAccess(com.vaadin.flow.router.BeforeEnterEvent event)booleanhasAccessTo(Class<? extends com.vaadin.flow.component.Component> navigationTarget)booleanhasAccessTo(String routePath)
-
-
-
Field Detail
-
PRIORITY
static final int PRIORITY
Thepriorityused to register theBeforeEnterListenerused to perform access control. The value is very high but still allows other listeners before it.- See Also:
- Constant Field Values
-
-