shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "picpoc (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SHIRO-437) WildcardPermission: conformed toString
Date Mon, 06 May 2013 21:56:16 GMT

     [ 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

Mime
View raw message