Hi,

What is the recommended way to subclass a shiro class to provide a slightly
different behavior and still get the fields injected by guice ?

I need to subclass ModularRealmAuthenticator to provide a _real_
FirstSuccessfulStrategy where the first successful authentication skips any
further auth attempts.
The problem is:
- Guice injection is implemented with a TypeListener but it's filtering on
the shiro package.
- BeanTypeListener is not available outside of the guice package, therefore
I can't apply it to my own package.

Is there any other way than patching the shiro-guice module to get around
this problem ?

Thanks in advance !

Regards,
Laszlo

Reply via email to