Enum Class BrowserSecurityPolicy

java.lang.Object
java.lang.Enum<BrowserSecurityPolicy>
oracle.dbtools.plugin.api.http.annotations.BrowserSecurityPolicy
All Implemented Interfaces:
Serializable, Comparable<BrowserSecurityPolicy>, Constable

public enum BrowserSecurityPolicy extends Enum<BrowserSecurityPolicy>
Defines which browser-security policy ORDS should apply to a dispatched route.
Author:
moudil
  • Enum Constant Details

    • INHERIT

      public static final BrowserSecurityPolicy INHERIT
      Use the inherited/default browser-security policy.
    • NONE

      public static final BrowserSecurityPolicy NONE
      No additional browser-security policy.
    • AUTH_ENTRY

      public static final BrowserSecurityPolicy AUTH_ENTRY
      Browser-security policy for auth entry points such as sign-in pages.
    • BAAS_SHELL

      public static final BrowserSecurityPolicy BAAS_SHELL
      Browser-security policy for the BAAS console shell.
  • Method Details

    • values

      public static BrowserSecurityPolicy[] 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 BrowserSecurityPolicy 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