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

OSGi Import for JSP (javax.servlet.jsp) should be declared optional

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.1
    • 1.2.2
    • None
    • None
    • Eclipse Equinox

    Description

      I am using Shiro with OSGi (Equinox) in a web application. Yet I do not use JSP pages. Therefore I use the shiro web bundle without requiring the package *.tags.

      So actually I do not need the jsp bundles as I don't use the tags. To avoid having to include the jsp bundles the import should be declared optional. I hacked up the manifest to suit my needs and it works just fine.

      Another option would be to create a separate package like "shiro.web.jsp" which contains the code for using shiro with JSPs.

      Attachments

        1. MANIFEST.MF
          7 kB
          Jan Stamer

        Activity

          People

            Unassigned Unassigned
            remast Jan Stamer
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: