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/31 06:25:00 UTC

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

     [ https://issues.apache.org/jira/browse/SHIRO-726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francois Papon closed SHIRO-726.
--------------------------------
    Resolution: Resolved

> 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
>            Priority: Major
>             Fix For: 1.5.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)