Interface RouteAccessDeniedHandler
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
StandardAuthenticationHandlers
public interface RouteAccessDeniedHandler extends Serializable
Handles when a fully authenticated user has been denied access to a route, e.g. by navigating to a different route and/or showing an error message. No further attempt to login the user needs to be made here.Alternatively, you can create an error view implementing
HasErrorParameterforRouteAccessDeniedException. This should have all the same possibilities as theRouteAccessDeniedHandler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleAccessDenied(com.vaadin.flow.router.BeforeEnterEvent event)Called after a fully authenticated user has been denied access to a route.
-