Opened 12 years ago
Closed 12 years ago
#1153 closed defect (fixed)
UrlRewriteFilter url and Spring Security NullPointerException
Reported by: | josegar74 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | v2.10.0 RC0 |
Component: | General | Version: | v2.8.0RC2 |
Keywords: | Cc: |
Description
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.
Note:
See TracTickets
for help on using tickets.
Committed in revision dd0476b228725f9445f640af412f036c1d7f2305