On Mon, May 10, 2010 at 12:01 PM, Les Hazlewood <[email protected]> wrote: > Nope, not yet - we haven't had a request for it yet. But that's ok - > please feel free to add one if you like. But that begs the question - > if you can do this via Spring's (or Guice's) Java Config, why not just > use that to configure Shiro? Part of the reason we don't have an XML > config option is that typically Guice and Spring can do this stuff in > a more sophisticated way than what we would come up with on our own > (and who wants to maintain something that complex in a security > framework ;) ?)
Agree.. You can already use the Shiro API to configure it programmatically. I really don't know what else there is to add to it. Specific frameworks (Guice, Spring, Tapestry-IOC) may have their own IoC annotations that you can by all means use to decorate your Shiro classes when configuring it. Kalle
