Class JmixNavigationAccessChecker

java.lang.Object
io.jmix.securityflowui.access.JmixNavigationAccessChecker
All Implemented Interfaces:
com.vaadin.flow.server.auth.NavigationAccessChecker, Serializable

public class JmixNavigationAccessChecker extends Object implements com.vaadin.flow.server.auth.NavigationAccessChecker
A NavigationAccessChecker that checks access to view by the presence of the Vaadin @AnonymousAllowed annotation on the view controller and by analyzing Jmix resource roles assigned for the current user.
See Also:
  • Field Details

  • Constructor Details

    • JmixNavigationAccessChecker

      public JmixNavigationAccessChecker(UiAccessChecker uiAccessChecker)
  • Method Details

    • check

      public com.vaadin.flow.server.auth.AccessCheckResult check(com.vaadin.flow.server.auth.NavigationContext context)
      Specified by:
      check in interface com.vaadin.flow.server.auth.NavigationAccessChecker