Generate a JasperReport for a specific user

Posted by user530846 on Stack Overflow See other posts from Stack Overflow or by user530846
Published on 2012-06-20T07:17:57Z Indexed on 2012/10/03 9:37 UTC
Read the original article Hit count: 236

I'm looking at using the JasperReport Web Services to create user specific reports. As opposed to getting a user to supply the name of the user to use for the query (and therefore expose a risk of users viewing each others data), I'd like within JasperReport to pull out their identity from their (Basic) authentication details from the web service run report call and then use their user name as a query parameter when running the report. Is there any documentation or examples on how this can be achieved?

© Stack Overflow or respective owner

Related posts about jasper-reports

Related posts about jasperserver