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

Add dynamic import package

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      When using custom class in the ini file, the ReflectionBuilder need to have an access on this class. In OSGi environment this is a problem because custom class are not in the import package and the shiro-core classloader can't find them.

      A solution is to add `org.apache.shiro` as dynamic import package to load custom classes.

      Users can provided their custom classes just by exported them in a `org.apache.shiro...` package.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fpapon Francois Papon
                Reporter:
                fpapon Francois Papon
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h