scottmacpherson Posted July 2, 2007 Share Posted July 2, 2007 I have just updated our JasperServer instance from 1.2.1 to 2.0.0, and can no longer run reports anonymously from a URL. I used to be able to open a browser and go straight to something like:http://server:8080/jasperserver/flow.html?_flowId=viewReportFlow&reportUnit=report_name After changing the following line in applicationContext-security.xml:/flow.html=ROLE_ANONYMOUS,ROLE_USER,ROLE_ADMINISTRATOR I get "Access denied: You do not have permission to take the requested action" Help! Link to comment Share on other sites More sharing options...
kidice Posted July 3, 2007 Share Posted July 3, 2007 set also the access permissions in the ui Link to comment Share on other sites More sharing options...
gvangeel Posted July 12, 2007 Share Posted July 12, 2007 Could you please elaborate on this, ... I have the same problem as scottmacpherson (only it is a clean 2.0 Install).And I have set the perimissions in the GUI to ROLE_Anonymous for a certain report, ... Still I get the following error... Access denied: You do not have permission to take the requested action. Enclosed you can find the error trace. Please Help ! [file name=ErrorTrace.txt size=6048]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/ErrorTrace.txt[/file] Link to comment Share on other sites More sharing options...
kidice Posted July 13, 2007 Share Posted July 13, 2007 have you set the permission for the anonymous user in the applicationcontext-security.xml ? Link to comment Share on other sites More sharing options...
gvangeel Posted July 16, 2007 Share Posted July 16, 2007 I have set the security in the "filterInvocationInterceptor" bean, as described in the first posting of this thread.cfr.: /flow.html=ROLE_ANONYMOUS,ROLE_USER,ROLE_ADMINISTRATOR You can find a copy of my applicationcontext-security.xml attached. Thank you for your help ! [file name=applicationContext_security.xml size=33964]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/applicationContext_security.xml[/file] Link to comment Share on other sites More sharing options...
scottmacpherson Posted July 16, 2007 Author Share Posted July 16, 2007 gvangeel wrote:I have set the security in the "filterInvocationInterceptor" bean, as described in the first posting of this thread.cfr.: /flow.html=ROLE_ANONYMOUS,ROLE_USER,ROLE_ADMINISTRATOR Did this solve your problem gvangeel? Link to comment Share on other sites More sharing options...
gvangeel Posted July 16, 2007 Share Posted July 16, 2007 Sorry, ... I was not very clear, ... I still have the same error, ... org.acegisecurity.AccessDeniedException: Access is denied Yet, I gave the AnonymousUser rights to the report in the UI. (even to the directory the report is in).And I changed the "filterInvocationInterceptor" bean in the applicationcontext-security.xml. Greetings. 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