// Set V3 Security parameters
engineParameters.activateEncryption();
// Create the UACL controller
UserAcl uacls = (UserAcl) new SNMPUserAcl(configuration);
engineParameters.setUserAcl(uacls);
// V1/V2 Security parameters
InetAddressAcl acls =
(InetAddressAcl) new SNMPInetAddressAcl(configuration);