how can I authenticate jasper reports server as part of link or bypass authentication

I am using Jasper web services to access a report through a link. For example:

http://localhost:8080/jasperserver/rest_v2/reports/reports/Statement.html?customer_id=NS10000?beginDate=2016-01-01?endDate=2016-02-26

This works, but I always have to enter the server username and password. Is there a way I can bypass the authentication or do it within the link without the username and password being visible in the url?

Jasperiousity's picture
Joined: Nov 10 2015 - 6:32am
Last seen: 5 years 6 months ago

can someone please help

Jasperiousity - 7 years 2 months ago

2 Answers:

Just append j_username and j_password to your url

Refer to the following thread for an example:

http://community.jaspersoft.com/questions/829426/automatically-login-pos...

hozawa's picture
176403
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 11 months ago
ogavavka's picture
1006
Joined: Mar 12 2012 - 2:10pm
Last seen: 2 months 1 week ago
Feedback