Package io.jmix.securityflowui.util
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
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isAnonymousRoute
(jakarta.servlet.http.HttpServletRequest request) Deprecated, for removal: This API element is subject to removal in a future version.protected boolean
isViewHasSecurityPermission
(Class<?> target) Deprecated, for removal: This API element is subject to removal in a future version.
-
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
Deprecated, for removal: This API element is subject to removal in a future version.
-