In Jaspersoft 9.x with Clarity unable to schedule dashboard getting an error access denied
Steps to Reproduce:
Actual Result: The scheduled dashboard is failing with error "Access Denied" with below error stack
org.springframework.security.access.AccessDeniedException: Access is denied
at org.springframework.security.access.vote.AffirmativeBased.decide(AffirmativeBased.java:84)
at org.springframework.security.access.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:233)
at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:65)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy127.getResource(Unknown Source)
at
Expected Result: The schedule dashboard should be able to run successfully and write the output
Clarity with Jaspersoft 9.x
This problem is no longer reproducible with Clarity with Jaspersoft 9.x Patch 2 after implementing the fix mentioned in KB