Package com.vaadin.flow.spring.security
Class SpringMenuAccessControl
java.lang.Object
com.vaadin.flow.server.auth.DefaultMenuAccessControl
com.vaadin.flow.spring.security.SpringMenuAccessControl
- All Implemented Interfaces:
MenuAccessControl
,Serializable
A Spring specific menu access control that falls back to Spring mechanisms
for view access checking, when the generic mechanisms do not work.
In Spring Boot application, a
SpringMenuAccessControl
is provided by
default, if Spring Security is available.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.flow.server.auth.MenuAccessControl
MenuAccessControl.PopulateClientMenu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
canAccessView
(AvailableViewInfo viewInfo) Determines if current user has permissions to access the given view.Methods inherited from class com.vaadin.flow.server.auth.DefaultMenuAccessControl
getPopulateClientSideMenu, setPopulateClientSideMenu
-
Constructor Details
-
SpringMenuAccessControl
public SpringMenuAccessControl()
-
-
Method Details