Gowtham Gutha created CAMEL-12945:
-------------------------------------
Summary: Support for multiple security mechanisms in SNMP v3
Key: CAMEL-12945
URL: https://issues.apache.org/jira/browse/CAMEL-12945
Project: Camel
Issue Type: Improvement
Components: camel-snmp
Affects Versions: 2.22.2
Reporter: Gowtham Gutha
Fix For: 2.22.3
Allow to add multiple users for SNMP v3 i.e. the SnmpTrapConsumer should
support multiple combinations of authentication and privacy protocols and
different passphrases. We cannot have a route per security mechanism.
Consider the below scenario.
I have multiple SNMP devices which have multiple authentication protocols and
privacy protocols with different passphrases. Moreover, they can send any
version of SNMP traps from v1 to v3. I must be able to configure those in a
properties file or a DSL (i.e. the snmp version, the USM users etc).
*Example:*
{code:java}
snmp.getUSM().addUser(
new OctetString("MD5DES"),
new UsmUser(new OctetString("MD5DES"), AuthMD5.ID,
new OctetString("UserName"), PrivDES.ID,
new OctetString("PasswordUser")));
snmp.getUSM().addUser(
new OctetString("MD5DES"),
new UsmUser(new OctetString("MD5DES"), null, null, null,
null));
{code}
.. other users with different auth, priv mechanisms (i.e. different security
mechanisms). I must be able to receive traps from all of them.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)