[ 
https://issues.apache.org/struts/browse/TILES-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42850
 ] 

brenmcguire edited comment on TILES-197 at 12/20/07 10:46 AM:
-------------------------------------------------------------------

Now the roles are stored in a Set. The string property is used only to populate 
the set.

      was (Author: brenmcguire):
    Now the roles are stored in a Set. The string property it is used only to 
populate the set.
  
> Role strings need to be split at every evaluation
> -------------------------------------------------
>
>                 Key: TILES-197
>                 URL: https://issues.apache.org/struts/browse/TILES-197
>             Project: Tiles
>          Issue Type: Improvement
>          Components: tiles-api, tiles-core
>    Affects Versions: 2.0.4
>            Reporter: Antonio Petrelli
>            Assignee: Antonio Petrelli
>            Priority: Minor
>             Fix For: 2.0.6
>
>
> The Attribute.role and Definition.role string contains a comma-separated list 
> of allowed user roles.
> This string needs to be split every time it is needed if a user is in one of 
> those roles. This leads to a small performance problem.
> The roles should be stored inside a Set, eventually created lazily.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to