The fact is that when you migrate the jasper server from version 6.1 to a higher, authentication by post method does not work.

The fact is that when you migrate the jasper server from version 6.1 to a higher one, authentication by post method does not work. 

Attached the html in the case, this works in version 6.1. !! It needs to work in the new version !!. 

This affects us a lot since there is a lot of source code of this type of invocation or similar.


    <title>Login Page</title>

<h2>Hello, please log in:</h2>
<form action="" method=post>
    <p><strong>Please Enter Your User Name: </strong>
    <input type="text" name="_flowId" value="viewReportFlow" size="25">
    <input type="text" name="reportUnit" value="/public/DEV/reports/consolidadoSituacionJuridicaSexo" size="25">
    <input type="text" name="j_username" value="inpec_user" size="25">
    <p><p><strong>Please Enter Your Password: </strong>
    <input type="text" size="15" name="j_password" value="inpec">
    <input type="text" size="15" name="viewAsDashboardFrame" value="true">
    <input type="text" size="15" name="output" value="pdf">
    <input type="submit" value="Submit">
    <input type="reset" value="Reset">

walterxp2005's picture
Joined: Nov 29 2011 - 10:53am
Last seen: 9 months 1 week ago

1 Answer:

Things do change. We do attempt to document the changes, but we cannot track everything. For example, I believe viewAsDashboardFrame is no longer valid:

From the documentation:

"The HTTP API format for executing dashboards changed in JasperReports Server 6.0. As of JasperReports Server 6.0, dashboards do not use the flow.html entry point used by Spring Web Flow. Instead, they use an updated dashboard entry point. If you are working with dashboards created in versions prior to 6.0, dashboards work similar to reports."

You should at the HTTP section of the Ultimate Guide for your edition for the latest syntax.

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