Enum Class PolicyMappingConfig.AppliesTo

java.lang.Object
java.lang.Enum<PolicyMappingConfig.AppliesTo>
io.quarkus.vertx.http.runtime.PolicyMappingConfig.AppliesTo
All Implemented Interfaces:
Serializable, Comparable<PolicyMappingConfig.AppliesTo>, Constable
Enclosing class:
PolicyMappingConfig

public static enum PolicyMappingConfig.AppliesTo extends Enum<PolicyMappingConfig.AppliesTo>
Specifies additional criteria on paths that should be checked.
  • Enum Constant Details

    • ALL

      public static final PolicyMappingConfig.AppliesTo ALL
      Apply on all matching paths.
    • JAXRS

      public static final PolicyMappingConfig.AppliesTo JAXRS
      Declares that a permission check must only be applied on the Jakarta REST request paths. Use this option to delay the permission check if an authentication mechanism is chosen with an annotation on the matching Jakarta REST endpoint. This option must be set if the following REST endpoint annotations are used:
      • `io.quarkus.oidc.Tenant` annotation which selects an OIDC authentication mechanism with a tenant identifier
  • Method Details

    • values

      public static PolicyMappingConfig.AppliesTo[] 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 PolicyMappingConfig.AppliesTo 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