(Quick Reference)

3 Configuration - Reference Documentation

Authors: Burt Beckwith

Version: 0.1

3 Configuration

There are a few configuration options for the Shiro integration.

All of these property overrides must be specified in grails-app/conf/Config.groovy using the grails.plugins.springsecurity suffix, for example
grails.plugins.springsecurity.shiro.permissionDomainClassName =
     'com.mycompany.myapp.Permission'

NameDefaultMeaning
shiro.activetrueif false the plugin is disabled
shiro.permissionDomainClassNamenone, must be setthe full class name of the permission domain class
shiro.useCachetruewhether to cache permission lookups; if you disable this they will be loaded from the database for every request