Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: 7.2.x
    • Component/s: Core Infrastructure
    • Labels:
      None
    • Type of Documentation:
      Developer: Customization

      Description

      Explain what servlet filters can do and demonstrate how to implement them in a module using OSGi service properties. 

      @Component(
      property = {
      "after-filter=<name of portal filter to run after (optional)>",
      "before-filter=<name of portal filter to run before (optional)>",
      "servlet-context-name=<set, but leave blank for portal (required)>",
      "servlet-filter-name=<set name (required)>",
      "init.param.*=<any init params prefixed by init.param. (optional)>",
      "dispatcher=<any legal dispatcher types (optional)>",
      "url-pattern=<any patterns (required)>"
      },
      service = Filter.class
      )
      class MyFilter implements ServletFilter { ... }

      (update servlet filter hook plugin code upgrade article to reference this article)

        Attachments

          Activity

            People

            • Assignee:
              james.hinkey James Hinkey
              Reporter:
              james.hinkey James Hinkey
              Subject Matter Expert:
              Raymond Auge
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package
                7.2.x