shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Traynham (JIRA)" <>
Subject [jira] [Created] (SHIRO-605) ShiroWebModule creates out of order filter chain.
Date Mon, 12 Dec 2016 22:07:58 GMT
Matt Traynham created SHIRO-605:

             Summary: ShiroWebModule creates out of order filter chain.
                 Key: SHIRO-605
             Project: Shiro
          Issue Type: Bug
          Components: Integration: Guice
    Affects Versions: 1.4.0-RC2
            Reporter: Matt Traynham
            Assignee: Jared Bunting
             Fix For: 1.4.0-RC2

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:

This should be a LinkedHashMap to maintain original user order.

It does add the paths correctly:

And correctly returns to the FilterChainProvider:

This message was sent by Atlassian JIRA

View raw message