Jump to content
Changes to the Jaspersoft community edition download ×

flow authentication on 1.2.1


tratti

Recommended Posts

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

JS 1.2.1 includes several security improvements, so you'll need to change more than that in order to allow not logged users to execute a flow.

 

You'd need to take care of the following items:

Flow authorization: make sure that ROLE_ANONYMOUS has access to the required flow(s).

 

For this you need to edit the flowDefinitionSource property of the flowVoter bean. For instance, you would add something like viewReportFlow=ROLE_ANONYMOUS,ROLE_USER, or, if you want to grant access to all flows, *=ROLE_ANONYMOUS,ROLE_USER.

Object permissions: grant ROLE_ANONYMOUS required permissions (read/write, depending on what you want the user to do) to repository resources/folders. You can either grant ROLE_ANONYMOUS access to the root folder or to specific folder/resources. This is done via the web UI via the "Assign Permissions" links in the repository admin browser.

If you plan to allow the user to execute reports, make sure ROLE_ANONYMOUS has access to /reportimage/** URIs.

[/ul]

 

HTH,

Lucian

Link to comment
Share on other sites

What if you just want to give the user access to a folder in the repository? For instance, all scheduled reports land in /PublicArea. I want anonymous users to be able to access that folder without authentication. All reports will have already been generated.

 

Thx

Post edited by: sikabnpo, at: 2007/05/01 23:39

Link to comment
Share on other sites

I updated the .xml file (fileview...) and I can now anonymously access the report, but I would also like for users to be able to see what reports are available in the /PublicArea folder.

 

I guess what I'm missing is the "screens" part. How do I know which screen it is? Repository screen?

 

 

Is there a document that describes all this?

 

Thanks!

Link to comment
Share on other sites

  • 3 weeks later...

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...