2013-04-21 95 views
4

我需要在打開報告時執行birt報告查看器的用戶驗證, 以便我們不應該能夠運行報告,並且在打開報告之前也應該執行用戶驗證。如何保護BIRT報告查看器

+0

您是否將birt報表查看器與Web應用程序集成?我在之前的項目中使用[spring security](http://static.springsource.org/spring-security/site/start-here.html),以防止用戶在用戶登錄到應用程序之前訪問報告 – 2013-04-21 05:35:30

回答

2

正如Iswanto San在他的評論中已經提到的 - 我也會使用Spring Security

但它確實取決於您的技能 - 以及您正在部署您的查看器。

如果您使用Tomcat - 你可以創建一個簡單的表單認證通過以下this step-by-step guide from Deron Eriksson on avajava.com.

另一種選擇是遵循什麼伯特交換建議通過以下的Birt-Exchange guide on security integration with the Actuate BIRT Viewers.

OR! 您可以通過以下this simple guide from Balendra15.Wordpress.com.

直接整合安全報告本身,我希望任何幫助!