You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Francois Papon (Jira)" <ji...@apache.org> on 2019/10/30 19:49:00 UTC

[jira] [Created] (SHIRO-726) Add dynamic import package

Francois Papon created SHIRO-726:
------------------------------------

             Summary: Add dynamic import package
                 Key: SHIRO-726
                 URL: https://issues.apache.org/jira/browse/SHIRO-726
             Project: Shiro
          Issue Type: Improvement
            Reporter: Francois Papon
            Assignee: Francois Papon
             Fix For: 1.5.0


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)