Jump to content
We've recently updated our Privacy Statement, available here ×

Dashboard viewer with login paramters in URL


julian111

Recommended Posts

Hi all,

I am trying to show a dashboard while passing the login parameters in the URL. The URL looks like:

https://jasperserver/dashboard/viewer.html#/Ad_Hoc_Reports/Dashboards/Test &j_username=jasperadmin|domain&j_password=jasperadmin

But it is always sending me back to the login screen without showing any error. When I login manually, the dashboards is loaded automatically after login.

Any suggestions? I am Using JS Pro 8.1.

Thank you!

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hello Julian,

 

As of JasperReports Server 6.1, you can use non-authentication parameters before or after the hash sign (#). However, if you place general parameters after the hash sign, then on Dashboard Viewer load, the parameters are moved before the hash sign and the page is redirected to the resulting URL. The authentication parameters j_username and j_password cannot be redirected; they must appear before the hash sign. Please refer section "Passing Dashboard Execution Parameters" from below Ultimate Guide for more details - 

 

https://community.jaspersoft.com/documentation/tibco-jasperreports-server-ultimate-guide/v80/repository-http-api

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...