Recently I implemented a trap sender using SNMP4J. I have made it configurable so that I can choose between sending SNMPv2 traps OR SNMPv3 traps using NOAUTH_NOPRIV, AUTH_NO