rhuss/jolokia — pull request #98 by pulse00 (2013-04-19 10:50:31+00:00)
Title: Added Authorization header for the ajax request

The current authentication for ajax request relies on talking to the jolokia backend directly. When Jolokia runs behind a reverse-proxy which requires the `Authorization` header for authentication, the request fails.

This PR adds the `Authorization` header to the ajax request if `username` and `password` options are set.