pspjasper Posted November 28, 2014 Posted November 28, 2014 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?ID=CC 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 AreaThis is about Jasperserver or Tomcat configuration? Where cna i fint the .htaccess file for jasperserver?Any help will be welcome.Thannks
nthapa Posted December 1, 2014 Posted December 1, 2014 You can also make request in this format, which might be what you are looking forhttp://<username>:<password>@localhost:8080/jasperserver-pro/rest_v2/eg. http://superuser:superuser@localhost:8080/jasperserver-pro/rest_v2/HTH.
pspjasper Posted December 11, 2014 Author Posted December 11, 2014 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?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now