walterxp2005 Posted January 5, 2018 Share Posted January 5, 2018 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> Link to comment Share on other sites More sharing options...
elizam Posted January 5, 2018 Share Posted January 5, 2018 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-doesnt-work-jaserserver-601From 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. Link to comment Share on other sites More sharing options...
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