[ 
https://issues.apache.org/jira/browse/SHIRO-300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15306036#comment-15306036
 ] 

ASF GitHub Bot commented on SHIRO-300:
--------------------------------------

GitHub user mattbishop opened a pull request:

    https://github.com/apache/shiro/pull/17

    SHIRO-300 Add protected setParts(list) method

     WildcardPermission subclasses can create their own parts/subparts list and 
pass them in with this method.
    
    See https://issues.apache.org/jira/browse/SHIRO-300

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mattbishop/shiro SHIRO-300

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/shiro/pull/17.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #17
    
----
commit e2934d35be987c228a76575c1305341086a2c7bf
Author: Matt Bishop <[email protected]>
Date:   2016-05-29T19:06:01Z

    SHIRO-300 Add protected setParts(list) method to WildcardPermission so 
subclasses can create their own parts/subparts list.

----


> WildcardPermission: change visibility of field 'parts' to protected
> -------------------------------------------------------------------
>
>                 Key: SHIRO-300
>                 URL: https://issues.apache.org/jira/browse/SHIRO-300
>             Project: Shiro
>          Issue Type: Improvement
>    Affects Versions: 1.1.0
>            Reporter: manthos
>
> Change visibility of field 'parts' to protected, so Permissions extends 
> WildcardPermission can directly fill parts instead of creating a String and 
> calling setParts (which splits this string again into parts...)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to