I have this bundle:
https://github.com/steinarb/oldalbum/tree/master/oldalbum.web.security
which contains two DS/SCR components:
1. A component implementing ServletContextHelper used to define the
servlet context
https://github.com/steinarb/oldalbum/blob/master/oldalbum.web.security/src/main/java/no/priv/bang/oldalbum/web/security/OldAlbumServletContextHelper.java
2. A component implementing a Shiro servlet Filter
https://github.com/steinarb/oldalbum/blob/master/oldalbum.web.security/src/main/java/no/priv/bang/oldalbum/web/security/OldAlbumShiroFilter.java#L35
I would like to reload the shiro servlet filter programmatically when
its configuration changes.
What's the best way of doing that?
Reload the entire bundle?
Reload just the filter component?
Make the filter reinitialize itself without reloading?
Has anyone done anything similar?
Suggestions? Ideas? All are welcome!
Thanks!
- Steinar