Connect Jaspersoft to REST Datasource w/ Authentication


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?

Kind regards

finn's picture
Joined: Jan 5 2018 - 2:11am
Last seen: 5 years 2 months ago

1 Answer:


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.

elizam's picture
Joined: Mar 5 2012 - 9:19am
Last seen: 2 years 7 months ago