Class SpringNavigationAccessControl

java.lang.Object
com.vaadin.flow.server.auth.NavigationAccessControl
com.vaadin.flow.spring.security.SpringNavigationAccessControl
All Implemented Interfaces:
BeforeEnterListener, BeforeEnterHandler, Serializable

public class SpringNavigationAccessControl extends NavigationAccessControl
A Spring specific navigation access control that falls back to Spring mechanisms for user retrieval and role checking, when the generic mechanisms do not work.

In Spring Boot application, a SpringNavigationAccessControl is provided by default, but its behavior can be configured by defining a NavigationAccessControlConfigurer bean.
See Also: