We're updating the issue view to help you get more done. 

CORS support for Javascript Library

Description

The client javascript library should support IE8 specials XDomainRequest Object which is used for cross domain requests. For all other mordern browsers, the current integration already works and for IE8 it works also, when a dedicated jquery plugin is used which installs a specific Ajax transport (search for iecors.js).

However, for a Jolokia client library users a cross domain request should be transparently possible regardless the browser in use.

Ideally and the perfect solution would be to automatically detect from the Jolokia-URL whether a cross site access is required, then if CORS is supported or a JSONP fallback should be used, so that this would work transparently without doing any configuration.

For implementation starting points, please refer to

Environment

Acceptance Criteria

Has the Javascript Library support for IE ? Is there an automatic detection for cross domain requests ? Automatic degradition to JSONP when CORS is not available ?

Status

Assignee

Roland Huss

Reporter

Roland Huss

Fix versions

Priority

Major