simonabertozzi Posted February 21, 2014 Share Posted February 21, 2014 Hello everyone, I'm trying to limit the list of possible exporters available to an anonymous user (which accesses a list of reports published on my Jasperserver).I found that tinkering with the code on "DefaultJasperserverViewerState.jsp" and using the variable exporterKey, I am able to filter the list for every user on Jasperserver.My question is: since I identify the anonymous accesses because the always use link with "decorate=no" parameter, is there a way to retrieve this parameter from inside "DefaultJasperserverViewerState.jsp"? I already triedString decorateParam = (String) request.getParameter("decorate")but it doesn't seem to work. Thank you all,Simona Link to comment Share on other sites More sharing options...
elizam Posted February 21, 2014 Share Posted February 21, 2014 Have you tried using role-based accessed control, as described in the ultimate guide?http://community.jaspersoft.com/documentation/jasperreports-server-ultimate-guide/v55/restricting-access-roleanonymous users are coming in with ROLE_ANONYMOUSIf you get it worked out, I would be interested in seeing your answer Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now