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:54:18 UTC

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

picpoc created SHIRO-437:
----------------------------

             Summary: 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
             Fix For: 1.3.0


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