The microblog notification feature implemented in
NMS-3575 only supports username/password authentication. As noted on the features wiki page, http://www.opennms.org/wiki/Microblog_Notifications, OAuth support will be added in a post 1.8 release.
Add support for using OAuth authentication.
The latest Twitter4j release is version 3.0.3, compared to the 2.0.7 OpenNMS builds against.