public int getSecurityLevel() {
      return securityLevel;
    }
Password authentication is hash based and the communications between the agent and the server are also encrypted.
ambari-server/src/main/java/org/apache/ambari/server/notifications/dispatchers/SNMPDispatcher.java