Module org.snmp4j
Package org.snmp4j

Enum SNMP4JSettings.ReportSecurityLevelStrategy

    • Enum Constant Detail

      • 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.
    • Method Detail

      • values

        public static SNMP4JSettings.ReportSecurityLevelStrategy[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SNMP4JSettings.ReportSecurityLevelStrategy c : SNMP4JSettings.ReportSecurityLevelStrategy.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SNMP4JSettings.ReportSecurityLevelStrategy valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null