Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.0-RC2
Description
The ShiroWebModule class is creating a randomly ordered filter chain, because it's using a HashMap instead of a LinkedHashMap.
The offending line is here:
https://github.com/apache/shiro/blob/master/support/guice/src/main/java/org/apache/shiro/guice/web/ShiroWebModule.java#L144
This should be a LinkedHashMap to maintain original user order.
It does add the paths correctly:
https://github.com/apache/shiro/blob/master/support/guice/src/main/java/org/apache/shiro/guice/web/ShiroWebModule.java#L176
And correctly returns to the FilterChainProvider:
https://github.com/apache/shiro/blob/master/support/guice/src/main/java/org/apache/shiro/guice/web/ShiroWebModule.java#L135
Attachments
Attachments
Issue Links
- is related to
-
SHIRO-579 Permission filter is validating last matched path
- Resolved
- links to