Hello everyone,
I'm having a little trouble with my webapp. Recently I had to configure it to serve some static content, so to that purpose I used the following in my applicationContext.xml:
That works just fine on its own and the static content can be displayed. However it can be displayed without athentication, so I added to my security configuration:Code:<mvc:resources mapping="/data/**" location="/path/to/my/files" />
But it doesn't work. I can still access the static content without athentication. Is there something I'm missing?Code:<intercept-url pattern="/app/data/*" access="fullyAuthenticated" />
Thanks in advance!


Reply With Quote