Enum Class SecurityMode

All Implemented Interfaces:
Serializable, Comparable<SecurityMode>, Constable

public enum SecurityMode extends Enum<SecurityMode>
What security enforcement does Hudson do?
Kohsuke Kawaguchi
  • Enum Constant Details


      public static final SecurityMode UNSECURED
      None. Anyone can make any changes.
    • LEGACY

      public static final SecurityMode LEGACY
      Legacy "secure mode."

      In this model, an user is either admin or not. An admin user can do anything, and non-admin user can only browse. Authentication is performed by the container.

      This is the only secured mode of Hudson up to 1.160. This is maintained only for backward compatibility.


      public static final SecurityMode SECURED
      Security-enabled mode implemented through Spring Security.
  • Method Details

    • values

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