shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Les Hazlewood (JIRA)" <>
Subject [jira] Commented: (SHIRO-205) Filter configs cannot contain commas in INI format
Date Mon, 25 Oct 2010 18:30:21 GMT


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 that you
had to quote commas, but it doesn't look like it.

Can you try:

/test/** = roles["guest, admin"] 

and see if that works? 

> Filter configs cannot contain commas in INI format
> --------------------------------------------------
>                 Key: SHIRO-205
>                 URL:
>             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.

View raw message