Use-case
How to configure TIBCO JasperReports® Server to allow access to Ad Hoc Cache for administrators (ROLE_ADMINISTRATOR)?
Resolution
By default, only superuser (ROLE_SUPERUSER) has access to Manage > Server Settings > Ad Hoc Cache menu.
In order to allow users with ROLE_ADMINISTRATOR role access the menu, the following steps should be performed:
- open WEB-INF/applicationContext-security-pro-web.xml configuration file
- locate bean class="com.jaspersoft.jasperserver.api.common.util.spring.GenericBeanUpdater"
- add ROLE_ADMINISTRATOR role to designerCacheFlow property: designerCacheFlow=ROLE_SUPERUSER,ROLE_ADMINISTRATOR
- save the changes, restart the server
After these steps Ad Hoc Cache menu is accessible to users that belong to ROLE_ADMINISTRATOR ROLE using below URL:
http://localhost:8080/jasperserver-pro/flow.html?_flowId=designerCacheFlow
Solution tested with TIBCO JasperReports® Server
AS-20191016, case #01735077
Recommended Comments
There are no comments to display.
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