[ 
https://issues.apache.org/jira/browse/SHIRO-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Les Hazlewood resolved SHIRO-205.
---------------------------------

    Resolution: Fixed

Bracketed config no no longer needs to be quoted.  For example, the following 
filter chain definition lines are equivalent:

foo, bar["a, b"], baz["d, e, f"]

and

foo, bar[a, b], baz[d, e, f]

The first line (old style) still works for backwards compatibility but the 
latter functions as expected now.
                
> Filter configs cannot contain commas in INI format
> --------------------------------------------------
>
>                 Key: SHIRO-205
>                 URL: https://issues.apache.org/jira/browse/SHIRO-205
>             Project: Shiro
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 1.0.0
>            Reporter: Peter Ledbrook
>            Assignee: Les Hazlewood
>             Fix For: 1.2.0
>
>
> Consider this configuration:
>     [urls]
>     /test/** = roles[guest, admin]
> The above won't work at the moment because PathMatchingFilter splits the 
> right-hand value into 'roles[guest' and 'admin]'. Commas inside square 
> brackets should be ignored when splitting the path value.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to