Hi all,
im trying to use the web service REST v2 in order to run a report via my web application.
the url is http://myHost:8080/jasperserver/rest_v2/reports/myPath/myReportName.pdf?... and it is working fine but before opening the save/open dialog a popup appear and a login to my server is requested for accessing Protected Area
This is about Jasperserver or Tomcat configuration? Where cna i fint the .htaccess file for jasperserver?
Any help will be welcome.
Thannks
2 Answers:
You can also make request in this format, which might be what you are looking for
http://<username>:<password>@localhost:8080/jasperserver-pro/rest_v2/
eg. http://superuser:superuser@localhost:8080/jasperserver-pro/rest_v2/
HTH.
Thanks nthapa,
in this case is not enough to set the report permissions for the role_anonymous to read only or run only but i need to create a user with a password to use when generating the web service url?
In my case i need to use the report in another web application and access them generating an html tag href.
In this way user:password are public and readable.
No way to access the server exporting as anonymous user?