#1153: UrlRewriteFilter url and Spring Security NullPointerException
-----------------------+----------------------------------------------------
Reporter: josegar74 | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.9.0
Component: General | Version: v2.8.0RC2
Keywords: |
-----------------------+----------------------------------------------------
Accessing a url of type "forward" defined in !UrlRewrite rules like:
http://localhost:8080/geonetwork/metadata/eng/aebc338c-d7cd-4b33-a63f-
c8b190696368.pdf
causes a !NullPointerException.
Seem related to the order of filters defined in {{{web.xml}}}. With this
type of URLs seem the springSecurityFilterChain is not executed.
Defining {{{springSecurityFilterChain}}} before {{{UrlRewriteFilter}}}
solves the issue.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1153>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.