You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2007/12/20 19:47:33 UTC

[jira] Resolved: (TILES-197) Role strings need to be split at every evaluation

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

Antonio Petrelli resolved TILES-197.
------------------------------------

    Resolution: Fixed

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.