shiro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Ledbrook <>
Subject Re: [grails-user] Shiro Subject Builder use in grails bootstrap
Date Thu, 29 Oct 2009 16:52:20 GMT
> Just a note - you should not use the ThreadState stuff as shown in
> your code sample.  Instead use my example that executes a Runnable and
> calls the 'doBootstrap' method (that you implement).

As an FYI, closures implement Runnable, so you can replace the
anonymous class with a closure in BootStrap.groovy.



View raw message