Direct URL to report output

Hi Folks,

I know this has been covered off here before, but in 4.7.1 this no-longer seems to work. When I call the URL I get the following exception:

 

My applicationContext-security-web.xml file looks like:

<bean class="org.springframework.security.intercept.web.FilterSecurityInterceptor"
      id="filterInvocationInterceptor">
    <property name="authenticationManager">
        <ref bean="authenticationManager" />
    </property>
    <property name="accessDecisionManager">
        <ref bean="httpRequestAccessDecisionManager" />
    </property>
        <!-- <property name="runAsManager"><ref bean="runAsManager"/></property>  -->
    <property name="objectDefinitionSource">
        <value>CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
               PATTERN_TYPE_APACHE_ANT
               /fileview/**=ROLE_ANONYMOUS,ROLE_USER,ROLE_ADMINISTRATOR</value>
    </property>
</bean>

My URL I am using looks like:

http://192.168.254.131:8080/jasperserver-pro/fileview/fileview/reports/s...

I have checked the permission on the samples folder, and anonymous has read-only.

Any ideas ?

Exie's picture
437
Joined: Jul 24 2006 - 12:00pm
Last seen: 6 years 4 months ago

1 Answer:

I can only suggest to update to JasperReports Server 5.0: in 5.0 this case works great with ecaxtly same steps.

sprilukin's picture
545
Joined: Jul 26 2011 - 7:08am
Last seen: 1 year 9 months ago

Thanks, I must be doing it wrong. Just installed a vanilla 5.0 server and configured it the same way and got the same error.

Exie - 10 years 10 months ago

Exie,

Did you get this working?

djohnson53 - 10 years 1 month ago
Feedback
randomness