Jump to content

Anonymous access denied after 1.2.1>2.0.0


scottmacpherson

Recommended Posts

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

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...