shiro « grails « Java Enterprise Q&A

1. Security in Grails-app: Acegi or Shiro

i'm developing a Grails based web-application and i need to choose one of these two frameworks for authentication. In your opinion, what criterions favor the choice for Acegi and what criterions ...

2. how to use cache permissions in grails shiro

everytime i call subject.isPermitted(), it send a sql to db. how can i cache it? any example? thanks

i had read the doc of shiro grails plugin. but cant solove it. DataSource:
hibernate {