Issue DescriptionYou are following section 7.3 - Creating a Custom Processor of the TIBCO JasperReports® Server Authentication Cookbook and you are getting the following error. | [toc] |
2015-12-07 11:34:10,816 DEBUG ExternalUserSetupProcessor,http-9000-1:163 - External user STATE_OFFICER1 has been synchronized. 2015-12-07 11:34:10,821 DEBUG ExternalProfileAttributeProcessor,http-9000-1:53 - Process profile attributes 2015-12-07 11:34:10,902 ERROR ExternalDataSynchronizerImpl,http-9000-1:99 - Error during synchronization org.springframework.security.access.AccessDeniedException: Access is denied at org.springframework.security.access.vote.AffirmativeBased.decide(AffirmativeBased.java:83) at org.springframework.security.access.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:206) at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:60) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) .... at com.interact911.jaspersso.FolderHelper.createFolder(FolderHelper.java:103) at com.interact911.jaspersso.FolderHelper.createFolderIfNotExists(FolderHelper.java:110) ... at java.lang.Thread.run(Thread.java:745) 2015-12-07 11:34:11,007 DEBUG BasePreAuthenticatedProcessingFilter,http-9000-1:190 - Cleared security context due to exception
Resolution
Try the following solution:
<bean id="externalUserFolderProcessor" class="com.jaspersoft.jasperserver.api.security.externalAuth.processors.ExternalUserFolderProcessor" parent="abstractExternalProcessor"> <property name="repositoryService" ref="${bean.unsecureRepositoryService}"/> <property name="userFoldersParentDirectory" value="/Home"/> </bean>
Ref. Case 00065176
Recommended Comments
There are no comments to display.