Class PrevVaadinRequestUtil

java.lang.Object
io.jmix.securityflowui.util.PrevVaadinRequestUtil

@Component @Deprecated(since="2.2", forRemoval=true) public class PrevVaadinRequestUtil extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
A copy of RequestUtil from the Vaadin 24.1 Its isAnonymousRoute(jakarta.servlet.http.HttpServletRequest) method doesn't rely on the NavigationAccessControl introduced in Vaadin 24.3. It uses the AccessAnnotationChecker instead to check whether the view should be available for anonymous users. We needed this because anonymous view access stopped working in Jmix 2.2.0. The current class will be removed after related issue is fixed.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isAnonymousRoute(jakarta.servlet.http.HttpServletRequest request)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PrevVaadinRequestUtil

      public PrevVaadinRequestUtil()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • isAnonymousRoute

      public boolean isAnonymousRoute(jakarta.servlet.http.HttpServletRequest request)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isViewHasSecurityPermission

      protected boolean isViewHasSecurityPermission(Class<?> target)
      Deprecated, for removal: This API element is subject to removal in a future version.