[
https://issues.apache.org/jira/browse/SHIRO-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924668#action_12924668
]
Les Hazlewood commented on SHIRO-205:
-------------------------------------
Hi Peter,
I think that's a valid solution. But I'm amazed it didn't work already by
using quotes inside the brackets. I thought that was documented in
http://shiro.apache.org/web.html that you had to quote commas, but it doesn't
look like it.
Can you try:
[urls]
/test/** = roles["guest, admin"]
and see if that works?
> 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: Peter Ledbrook
> Fix For: 1.1.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.
-
You can reply to this email to add a comment to the issue online.