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
FieldsModifier and TypeFieldDescriptionprotected booleanDeprecated, 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 UiAccessCheckerDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionUiViewAccessChecker(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 TypeMethodDescriptionvoidbeforeEnter(com.vaadin.flow.router.BeforeEnterEvent beforeEnterEvent) Deprecated, for removal: This API element is subject to removal in a future version.voidenable()Deprecated, for removal: This API element is subject to removal in a future version.Enables the access checker.protected booleanDeprecated, for removal: This API element is subject to removal in a future version.protected booleanisHasAccess(Class<?> targetView) Deprecated, for removal: This API element is subject to removal in a future version.protected booleanisProductionMode(com.vaadin.flow.router.BeforeEnterEvent beforeEnterEvent) Deprecated, for removal: This API element is subject to removal in a future version.voidsetLoginView(Class<? extends com.vaadin.flow.component.Component> loginView) Deprecated, for removal: This API element is subject to removal in a future version.protected voidDeprecated, 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:
beforeEnterin 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.
-
JmixNavigationAccessCheckerinstead. Vaadin introduced newNavigationAccessControlmechanism.