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

0
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.

 

<html>
<head>
    <title>Login Page</title>
</head>

<h2>Hello, please log in:</h2>
<br><br>
<form action="http://201.217.206.18:8080/jasperserver-pro/flow.html" 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">
    <p><p>
    <input type="submit" value="Submit">
    <input type="reset" value="Reset">
</form>
</html>

walterxp2005's picture
Joined: Nov 29 2011 - 10:53am
Last seen: 8 months 6 days ago

1 Answer:

0

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

https://community.jaspersoft.com/questions/952231/viewasdashboardframe-d...

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
4751
Joined: Mar 5 2012 - 9:19am
Last seen: 5 days 16 hours ago
Feedback