com.vaadin.flow.server.auth.

Enum Class AccessCheckDecision

java.lang.Object
java.lang.Enum<AccessCheckDecision>
com.vaadin.flow.server.auth.AccessCheckDecision

All Implemented Interfaces:

Serializable, Comparable<AccessCheckDecision>, Constable

public enum AccessCheckDecision extends Enum<AccessCheckDecision>

Decision on navigation access.

  • Enum Constant Details

    • ALLOW

      public static final AccessCheckDecision ALLOW

      Allows access to the target view.

    • DENY

      public static final AccessCheckDecision DENY

      Denies access to the target view.

    • REJECT

      public static final AccessCheckDecision REJECT

      Denies access to the target view because of a critical permission configuration mistake.

    • NEUTRAL

      public static final AccessCheckDecision NEUTRAL

      Abstains from taking a decision about access to the target view.

  • Method Details

    • values

      public static AccessCheckDecision[] values()

      Returns an array containing the constants of this enum class, in the order they are declared.

      Returns:

      an array containing the constants of this enum class, in the order they are declared

    • valueOf

      public static AccessCheckDecision valueOf(String name)

      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)

      Parameters:

      name - the name of the enum constant to be returned.

      Returns:

      the enum constant with the specified name

      Throws:

      IllegalArgumentException - if this enum class has no constant with the specified name

      NullPointerException - if the argument is null