I'm trying to connect Jaspersoft Studio to a resource via a REST-Call to a given URL that returns data in JSON-Format. However, the remote resource requires authentication via a token. Is there any way to pass the authentication token in the request header (or get the authentication to work), as understandably I don't want to pass it via the URL?
As far as I know, it is not possible with iReport. It can be done with Jaspersoft Studio (the replacement for iReport), but at the moment it is not as easy as it should be. Currently, you can try using the webservices data source with JSS, although it is not an official part of the product, so finding the right version to install may take a little digging:
In an upcoming release of JSS, you should be able to add the authentication token when you create the JSON data adapter.