Enum Class Acl.Principal

All Implemented Interfaces:
Serializable, Comparable<Acl.Principal>, Constable
Enclosing class:

public static enum Acl.Principal extends Enum<Acl.Principal>
This enum contains principal matchers that don't have any configuration, such as a name, associated with them, for ease of reference in annotations.
  • Enum Constant Details


      public static final Acl.Principal UNSPECIFIED
    • ALL

      public static final Acl.Principal ALL
      All (or no) principals. This matches all requests regardless of what principals are associated with it.

      public static final Acl.Principal INTERNET
      The internet. This will match all requests that originated from the internet, and passed through the Kalix ingress via a configured route.
  • Method Details

    • values

      public static Acl.Principal[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Acl.Principal 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null