Enum Class Mode

java.lang.Object
java.lang.Enum<Mode>
net.datenwerke.oidc.shared.Mode
All Implemented Interfaces:
Serializable, Comparable<Mode>, Constable

public enum Mode extends Enum<Mode>
Available auth modes for ReportServer.
  • Enum Constant Details

    • HYBRID

      public static final Mode HYBRID
      Supports both OIDC and LEGACY mode
    • OIDC

      public static final Mode OIDC
      Only supports OIDC PAM authentication using OidcProvider
    • LEGACY

      @Deprecated public static final Mode LEGACY
      Deprecated.
      This mode is obsolete and will be removed in the future.
      Legacy mode. Only supports old PAM authentication (mostly UserPasswordPAM)
  • Method Details

    • values

      public static Mode[] 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 Mode 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
    • toString

      public String toString()
      Returns a rs.properties compatible string representation of the enum.
      Overrides:
      toString in class Enum<Mode>
      Returns:
      The enum as string.