You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Matt Bishop (JIRA)" <ji...@apache.org> on 2016/05/29 18:56:12 UTC

[jira] [Commented] (SHIRO-300) WildcardPermission: change visibility of field 'parts' to protected

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

Matt Bishop commented on SHIRO-300:
-----------------------------------

Instead of making parts protected, better to add {{protected setParts(List<Set<String> parts)}} to WildcardPermission.

> 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)