环境: CentOS 5.4, Pentaho BI Server 5.3
切换到 biserver-ce/pentaho-solutions/system目录下,编辑security.properties
修改如下:
requestParameterAuthenticationEnabled=true
重启BI Server服务
通过浏览器或curl访问
http://xxx.xxx.xxx.xxx:8080/pentaho/api/repos/%3Apublic%3ASteel%20Wheels%3AReports%3ATop%20Customers%20%28report%29.prpt/viewer?ts=1438767939338&userid=admin&password=password
curl -o 2.pdf –user admin:password http://xxx.xxx.xxx.xxx:8080/pentaho/api/repos/%3Ahome%3Aantifraud%3A%E8%A2%AB%E6%94%BB%E5%87%BB%E5%85%B3%E9%94%AE%E8%AF%8DTop20%E6%97%A5%E6%8A%A5.prpt/generatedContent?output-type=pdf