You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Kalle Korhonen (JIRA)" <ji...@apache.org> on 2009/02/22 08:15:01 UTC

[jira] Updated: (JSEC-61) PathConfigProcessor.processPathConfig() should return Filter

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

Kalle Korhonen updated JSEC-61:
-------------------------------

    Attachment: JSEC-61.patch

Change signature of PathMatchingFilter.processPathConfig to return Filter. 

> PathConfigProcessor.processPathConfig() should return Filter
> ------------------------------------------------------------
>
>                 Key: JSEC-61
>                 URL: https://issues.apache.org/jira/browse/JSEC-61
>             Project: JSecurity
>          Issue Type: Improvement
>          Components: Web
>    Affects Versions: 0.9
>            Reporter: Kalle Korhonen
>            Priority: Trivial
>             Fix For: 1.0
>
>         Attachments: JSEC-61.patch
>
>
> Currently return type of PathConfigProcessor.processPathConfig() is void. Would be nice if it returned a Filter instead to make configuring jsecurity in all-java easier, so you could for example write filters.add(pathMatchingFilter.processPathConfig(path, filterConfig)). It would also open up other interesting possibilities for filter implementations (delegating proxy filters etc.). The change is fully backwards compatible and simple, see patch. 

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