[ 
https://issues.apache.org/jira/browse/NIFI-15928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18081381#comment-18081381
 ] 

ASF subversion and git services commented on NIFI-15928:
--------------------------------------------------------

Commit 029995954813065cd59e8614f9ae744f514016a8 in nifi's branch 
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=02999595481 ]

NIFI-15928 Added support for the localizationEngineID in UsmUserDeserializer 
(#11249)

> Introduce Engine Id Check in SNMP Listener for SNMP v3
> ------------------------------------------------------
>
>                 Key: NIFI-15928
>                 URL: https://issues.apache.org/jira/browse/NIFI-15928
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Pijush Das
>            Assignee: Daniel Stieglitz
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Hi,
> When we use the 
> {color:#000000}org.apache.nifi.snmp.processors{color}.ListenTrapSNMP 
> processor, we need to use different engine Ids. 
> But the source code does not take into account the engine id. It only uses 
> the security name,
> auth protocol, auth password, priv protocol and priv password. Please check 
> the below.
> [https://github.com/apache/nifi/blob/rel/nifi-2.8.0/nifi-extension-bundles/nifi-snmp-bundle/nifi-snmp-processors/src/main/java/org/apache/nifi/snmp/utils/UsmUserDeserializer.java]
>  
> The 
> public{color:#000000} UsmUser(OctetString 
> {color}{color:#6a3e3e}securityName{color}{color:#000000},{color}{color:#000000}
>  OID {color}{color:#6a3e3e}authenticationProtocol{color}{color:#000000}, 
> {color}{color:#000000}OctetString 
> {color}{color:#6a3e3e}authenticationPassphrase{color}{color:#000000},{color}{color:#000000}
>  OID {color}{color:#6a3e3e}privacyProtocol{color}{color:#000000}, 
> {color}{color:#000000} OctetString 
> {color}{color:#6a3e3e}privacyPassphrase{color}{color:#000000}){color}
> {color:#000000}constructor does not take into account the engine id.
> Instead, we the below constructor has to be used and the same has to be used 
> in Usm.{color}
> {color:#000000} {color}{color:#7f0055}public{color}{color:#000000} 
> UsmUser(OctetString 
> {color}{color:#6a3e3e}securityName{color}{color:#000000},{color}{color:#000000}
>  OID {color}{color:#6a3e3e}authenticationProtocol{color}{color:#000000}, 
> {color}{color:#000000} OctetString 
> {color}{color:#6a3e3e}authenticationPassphrase{color}{color:#000000}, 
> {color}{color:#000000} OID 
> {color}{color:#6a3e3e}privacyProtocol{color}{color:#000000},{color}{color:#000000}
>  OctetString {color}{color:#6a3e3e}privacyPassphrase{color}{color:#000000}, 
> {color}{color:#000000}OctetString 
> {color}{color:#6a3e3e}localizationEngineID{color}{color:#000000}){color}
> {color:#000000}Thanks{color}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to