Package io.jmix.securityflowui.access
Class UiViewAccessChecker
java.lang.Object
io.jmix.securityflowui.access.UiViewAccessChecker
- All Implemented Interfaces:
com.vaadin.flow.router.BeforeEnterListener
,com.vaadin.flow.router.internal.BeforeEnterHandler
,Serializable
@Deprecated(since="2.3",
forRemoval=true)
public class UiViewAccessChecker
extends Object
implements com.vaadin.flow.router.BeforeEnterListener
Deprecated, for removal: This API element is subject to removal in a future version.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
Deprecated, for removal: This API element is subject to removal in a future version.protected Class<? extends com.vaadin.flow.component.Component>
Deprecated, for removal: This API element is subject to removal in a future version.protected final UiAccessChecker
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorDescriptionUiViewAccessChecker
(boolean enabled, UiAccessChecker uiAccessChecker) Deprecated, for removal: This API element is subject to removal in a future version.UiViewAccessChecker
(UiAccessChecker uiAccessChecker) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeEnter
(com.vaadin.flow.router.BeforeEnterEvent beforeEnterEvent) Deprecated, for removal: This API element is subject to removal in a future version.void
enable()
Deprecated, for removal: This API element is subject to removal in a future version.Enables the access checker.protected boolean
Deprecated, for removal: This API element is subject to removal in a future version.protected boolean
isHasAccess
(Class<?> targetView) Deprecated, for removal: This API element is subject to removal in a future version.protected boolean
isProductionMode
(com.vaadin.flow.router.BeforeEnterEvent beforeEnterEvent) Deprecated, for removal: This API element is subject to removal in a future version.void
setLoginView
(Class<? extends com.vaadin.flow.component.Component> loginView) Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
uiAccessChecker
Deprecated, for removal: This API element is subject to removal in a future version. -
enabled
protected boolean enabledDeprecated, for removal: This API element is subject to removal in a future version. -
loginView
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
UiViewAccessChecker
Deprecated, for removal: This API element is subject to removal in a future version. -
UiViewAccessChecker
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
enable
public void enable()Deprecated, for removal: This API element is subject to removal in a future version.Enables the access checker.This must be called for the access checker to perform any checks. By default, the access checker is disabled.
-
setLoginView
Deprecated, for removal: This API element is subject to removal in a future version. -
throwIfLoginViewSet
protected void throwIfLoginViewSet()Deprecated, for removal: This API element is subject to removal in a future version. -
beforeEnter
public void beforeEnter(com.vaadin.flow.router.BeforeEnterEvent beforeEnterEvent) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
beforeEnter
in interfacecom.vaadin.flow.router.internal.BeforeEnterHandler
-
isHasAccess
Deprecated, for removal: This API element is subject to removal in a future version. -
isProductionMode
protected boolean isProductionMode(com.vaadin.flow.router.BeforeEnterEvent beforeEnterEvent) Deprecated, for removal: This API element is subject to removal in a future version. -
isAnonymousAuthentication
protected boolean isAnonymousAuthentication()Deprecated, for removal: This API element is subject to removal in a future version.
-
JmixNavigationAccessChecker
instead. Vaadin introduced newNavigationAccessControl
mechanism.