>>>>> Francois Papon <[email protected]>:

> I added Dynamic-Import-Package in Shiro-core so now the Shiro-core
> bundle can load filters provided by other bundles.

Thanks Francois! Great work with the OSGi-fication of Shiro!

> You just need to export your filter throught a org.apache.shiro.* package.

It's even simpler than that. I will be using a built-in filter (but even
that did not work with shiro prior to your changes).

I moved the registration of the filter from Java code to shiro.ini,
changing the ini file from
 
https://gist.github.com/steinarb/e6006f24c1b7ac25c5d4a9dd1d76c6a9#file-shiro-ini-L1
to
 
https://gist.github.com/steinarb/2cfb6917373dee8781b58323b1f3b8e0#file-shiro-ini-L2

The DS component activation method of the ShiroFilter was changed from
this
 
https://gist.github.com/steinarb/55b612b781899af7bdb084c8c8f5bd1d#file-ukelonnshirofilter-java-L28
to this (losing all of the deprecated classes)
 
https://gist.github.com/steinarb/de38f2b40a10e2f78e69639684c9f628#file-ukelonnshirofilter-java-L29

Reply via email to