You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "picpoc (JIRA)" <ji...@apache.org> on 2013/05/06 23:56:16 UTC

[jira] [Updated] (SHIRO-437) WildcardPermission: conformed toString

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

picpoc updated SHIRO-437:
-------------------------

    Attachment: wildcardpermission-tostring.patch
    
> WildcardPermission: conformed toString
> --------------------------------------
>
>                 Key: SHIRO-437
>                 URL: https://issues.apache.org/jira/browse/SHIRO-437
>             Project: Shiro
>          Issue Type: Improvement
>          Components: Authorization (access control) 
>    Affects Versions: 1.3.0
>            Reporter: picpoc
>            Priority: Trivial
>              Labels: patch
>             Fix For: 1.3.0
>
>         Attachments: wildcardpermission-tostring.patch
>
>
> Attached patch enhances [SHIRO-75], updating WildcardPermission.toString() to return conform wildcard expression, in order to satisfy assertions like:
> WildcardPermission p1 = new WildcardPermission("foo,bar:baz:*");
> assert p1.equals(new WildcardPermission(p1.toString());

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira