vadv/zabbixapi — pull request #3 by aaronblythe (2012-10-29 18:58:30+00:00)
Title: Support HTTP Basic Auth

Zabbix supports Basic HTTP authentication in a way that will make the internal Zabbix authentication not matter.

http://www.zabbix.com/documentation/1.8/manual/web_interface/administration?s[]=authentication#authentication

http://www.zabbix.com/documentation/2.0/manual/web_interface/frontend_sections/administration/authentication?s[]=authentication

By simply stating that you want to use HTTP Basic Auth, the existing method of setting credentials (username and password) should work. The only difference is they need to be sent in slightly differently (on the http request) to work with HTTP Basic Auth.