Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-79

PathConfigProcessor.processPathConfig() should return Filter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        1. JSEC-61.patch
          2 kB
          Kalle Korhonen

        Activity

          People

            Unassigned Unassigned
            kaosko Kalle Korhonen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: