shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Bishop (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SHIRO-300) WildcardPermission: change visibility of field 'parts' to protected
Date Sun, 29 May 2016 18:56:12 GMT

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

Mime
View raw message