1

Pass parameter to pentaho CDE report

Request parameter using GET method is working fine but I dont want to show credentials in URL , post method is not working

requestParameterProcessingFilter : http://jira.pentaho.com/browse/BISERVER-10708

<html>
<form action="http://localhost:8080/pentaho/api/repos/ublic:Company:Reporting:Test:Test2.prpt/report?&output-target=pageable%2Fpdf" method="post">
<input type="hidden" name="userid" id="userid" value="admin"/>
<input type="hidden" name="password" id="password" value="password"/>
<input type="submit" value="Submit">
</form>
</html> 
Community
  • 1
  • 1
Nilesh Patil
  • 35
  • 1
  • 6

2 Answers2

0

I don't expect that to work.

You should look into granting anonymous access to Pentaho. You can find that in the infocenter.

Pedro Vale
  • 756
  • 1
  • 4
  • 4
  • Hi , in infocenter mention only for get method, but for post method is not working. Like payment gateway – Nilesh Patil Mar 21 '14 at 12:51
  • Look at infocenter for information on enabling anonymous access. What you're trying to do won't work. – Pedro Vale Mar 25 '14 at 11:10
  • check my answer on how to grant anonymous access. http://stackoverflow.com/questions/28404241/pentaho-bi-server-report-without-log-in/28414637#28414637 – Marlon Abeykoon Mar 22 '15 at 07:04
0

I'm not sure this will help but you can try with Authorization header. Where value of header is "Basic " + Base64.encode64(username + ":" + password)

Adriaan
  • 17,741
  • 7
  • 42
  • 75