You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by bd...@apache.org on 2016/12/14 19:33:52 UTC
shiro git commit: SHIRO-605: Use LinkedHashMap to maintain order of
filter chain
Repository: shiro
Updated Branches:
refs/heads/master 03cad0121 -> 2fed5d196
SHIRO-605: Use LinkedHashMap to maintain order of filter chain
Project: http://git-wip-us.apache.org/repos/asf/shiro/repo
Commit: http://git-wip-us.apache.org/repos/asf/shiro/commit/2fed5d19
Tree: http://git-wip-us.apache.org/repos/asf/shiro/tree/2fed5d19
Diff: http://git-wip-us.apache.org/repos/asf/shiro/diff/2fed5d19
Branch: refs/heads/master
Commit: 2fed5d1961b1f6dc4e6556dd441890b8bd82ddaf
Parents: 03cad01
Author: Matt Traynham <mt...@tivo.com>
Authored: Tue Dec 13 12:58:24 2016 -0500
Committer: Brian Demers <bd...@apache.org>
Committed: Wed Dec 14 11:18:02 2016 -0800
----------------------------------------------------------------------
.../src/main/java/org/apache/shiro/guice/web/ShiroWebModule.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/shiro/blob/2fed5d19/support/guice/src/main/java/org/apache/shiro/guice/web/ShiroWebModule.java
----------------------------------------------------------------------
diff --git a/support/guice/src/main/java/org/apache/shiro/guice/web/ShiroWebModule.java b/support/guice/src/main/java/org/apache/shiro/guice/web/ShiroWebModule.java
index 15431e5..ea389e2 100644
--- a/support/guice/src/main/java/org/apache/shiro/guice/web/ShiroWebModule.java
+++ b/support/guice/src/main/java/org/apache/shiro/guice/web/ShiroWebModule.java
@@ -141,7 +141,7 @@ public abstract class ShiroWebModule extends ShiroModule {
Map<Key<? extends Filter>, Map<String, String>> filterToPathToConfig = new HashMap<Key<? extends Filter>, Map<String, String>>();
// At the same time build a map to return with Path -> Key[]
- Map<String, Key<? extends Filter>[]> resultConfigMap = new HashMap<String, Key<? extends Filter>[]>();
+ Map<String, Key<? extends Filter>[]> resultConfigMap = new LinkedHashMap<String, Key<? extends Filter>[]>();
for (Map.Entry<String, FilterConfig<? extends Filter>[]> filterChain : filterChains.entrySet()) {