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

Fix OSGI Exports and Imports for org.apache.shiro.ehcache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • Caching
    • None

    Description

      Shiro Eh-cache has no exports in the Manifest.MF

      Also, it requires a version of 1.4.0 to 2.0.0 for net.sf.ehcache, but upon reviewing the requirements, it requires version 2.2.0 of the Jar.

      I would suggest changing the Import-Package and Export-Package declarations to:

      Import-Package: net.sf.ehcache;version="[1.4.0,3.0.0)",org.apache.shir
      o.cache;version="[1.1.0,2.0.0)",org.apache.shiro.config;version="[1.1
      .0,2.0.0)",org.apache.shiro.io;version="[1.1.0,2.0.0)",org.apache.shi
      ro.util;version="[1.1.0,2.0.0)",org.slf4j;version="1.6"
      Export-Package: org.apache.shiro.cache.ehcache

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jjones@ptc.com Jason M Jones
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: