Uses of Class
com.vaadin.flow.server.auth.AccessCheckResult
-
Uses of AccessCheckResult in com.vaadin.flow.server.auth
Methods in com.vaadin.flow.server.auth that return AccessCheckResultModifier and TypeMethodDescriptionstatic AccessCheckResult
AccessCheckResult.allow()
Create a result instance informing that the navigation to the target view is allowed for the current user.
NavigationContext.allow()
Create a result instance informing that the navigation to the target view is allowed for the current user.
AnnotatedViewAccessChecker.check
(NavigationContext context) NavigationAccessChecker.check
(NavigationContext context) Checks if the current user is allowed to access a target view.
RoutePathAccessChecker.check
(NavigationContext context) NavigationAccessControl.checkAccess
(NavigationContext context, boolean productionMode) ViewAccessChecker.checkAccess
(NavigationContext context) Deprecated, for removal: This API element is subject to removal in a future version.
Checks access to the given navigation target.
static AccessCheckResult
AccessCheckResult.create
(AccessCheckDecision decision, String reason) Create a result instance for the provided decision and reason.
static AccessCheckResult
Create a result instance informing that the navigation to the target view is denied for the current user.
Create a result instance informing that the navigation to the target view is denied for the current user.
static AccessCheckResult
AccessCheckResult.neutral()
Create a result instance informing that the checker cannot take a decision based on the given navigation information.
NavigationContext.neutral()
Create a result instance informing that the checker cannot take a decision based on the given navigation information.
static AccessCheckResult
Create a result instance informing that the navigation to the target view is denied for the current user because of a misconfiguration or a critical development time error.
Create a result instance informing that the navigation to the target view is denied for the current user because of a misconfiguration or a critical development time error.
AccessCheckDecisionResolver.resolve
(List<AccessCheckResult> results, NavigationContext context) Determines if access is granted for a specific navigation context, based on the decisions provided by
NavigationAccessChecker
s.DefaultAccessCheckDecisionResolver.resolve
(List<AccessCheckResult> results, NavigationContext context) Method parameters in com.vaadin.flow.server.auth with type arguments of type AccessCheckResultModifier and TypeMethodDescriptionAccessCheckDecisionResolver.resolve
(List<AccessCheckResult> results, NavigationContext context) Determines if access is granted for a specific navigation context, based on the decisions provided by
NavigationAccessChecker
s.DefaultAccessCheckDecisionResolver.resolve
(List<AccessCheckResult> results, NavigationContext context)