Controlling user access to web reports [message #987868] |
Wed, 28 November 2012 08:00  |
Eclipse User |
|
|
|
I need to make sure that only certain users are able to view our BIRT reports via the web viewer. I have successfully implemented NTLM authentication against our domain as described in
https://sites.google.com/site/dynamicdatamining/birt/birt-viewer-security
That will allow anyone on our domain to access the reports. I want to restrict it to just a few.
Ideally I would furnish Tomcat with a set of usernames *and* then authenticate via NTLM but i don't think I can do that.
I do not want to add a new AD group for BIRT, so am thinking of performing the restriction within the report itself. The above link suggests a way to get the logged in username via an Initialize function but how do I make use of that?
I am thinking that I should put some code in beforeFactory that checks the passed username value against a list and either goes on to display the report OR outputs a message saying the user is not authorised.
However, I am clueless on how to achieve this or even if there is a better was of doing this?
Any help would be appreciated.
Thanks
Lee
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05277 seconds