>>>>> Steinar Bang <sb-1rlz5cwd...@public.gmane.org>:

>>>>> Jean-Baptiste Onofré 
>>>>> <jb-0op4vimcjdnk1umjsbkqmq-xmd5yjdbdmrexy1tmh2...@public.gmane.org>:
>> Hi Steinar
>> I gonna take a look.

> Great! Thanks, JB!

Out of curiosity what approaches do you see as possible?

I can just think of two:
 1. Extend the INI API to pass the classloader of the calling class as a 
parameter
 2. Add import-package of all possible packages used by ini parsing to
    the shiro-lang bundle

With 1. one has to ensure that org.apache.shiro.web.filter.authc is
available to the calling class (all INI parser callers will have to do
this)

With 2:
 Upside: no API changes necessary
 Downside: one could create undesirable dependencies? But it is possibly enough 
to use resolution=optional

Or are there other ways?

Reply via email to