Module org.snmp4j
Package org.snmp4j

Enum Class SNMP4JSettings.ReportSecurityLevelStrategy

java.lang.Object
java.lang.Enum<SNMP4JSettings.ReportSecurityLevelStrategy>
org.snmp4j.SNMP4JSettings.ReportSecurityLevelStrategy
All Implemented Interfaces:
Serializable, Comparable<SNMP4JSettings.ReportSecurityLevelStrategy>, java.lang.constant.Constable
Enclosing class:
SNMP4JSettings

public static enum SNMP4JSettings.ReportSecurityLevelStrategy extends Enum<SNMP4JSettings.ReportSecurityLevelStrategy>
Specifies how the security level of retry requests after a REPORT PDU is set.
  • Enum Constant Details

    • noAuthNoPrivIfNeeded

      public static final SNMP4JSettings.ReportSecurityLevelStrategy noAuthNoPrivIfNeeded
      This is the SNMP4J < 2.2.0 default strategy. If the report receiver would not be able to process the REPORT, a lesser security level is used.
    • standard

      public static final SNMP4JSettings.ReportSecurityLevelStrategy standard
      The standard report strategy is conforming to RFC 3412 and 3414. Security level noAuthNoPriv is allowed for engine ID discovery and wrong username reports.
    • neverNoAuthNoPriv

      public static final SNMP4JSettings.ReportSecurityLevelStrategy neverNoAuthNoPriv
      Never use noAuthNoPriv security level for reports.
  • Method Details

    • 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 SNMP4JSettings.ReportSecurityLevelStrategy 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