Enum Class AuthPaths.Result

java.lang.Object
java.lang.Enum<AuthPaths.Result>
net.anotheria.portalkit.adminapi.rest.filter.path.AuthPaths.Result
All Implemented Interfaces:
Serializable, Comparable<AuthPaths.Result>, Constable
Enclosing class:
AuthPaths

public static enum AuthPaths.Result extends Enum<AuthPaths.Result>
  • Enum Constant Details

    • AUTH_REQUIRED

      public static final AuthPaths.Result AUTH_REQUIRED
    • NO_AUTH

      public static final AuthPaths.Result NO_AUTH
    • AUTH_OPTIONAL

      public static final AuthPaths.Result AUTH_OPTIONAL
      Optional means that same path can be used for logged in and not logged user. Authorize user if you can.
  • Method Details

    • values

      public static AuthPaths.Result[] 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 AuthPaths.Result 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