grails « Filter « JPA Q&A

1. Run code in Hibernate Filters

I have a fairly sophisticated security mechanism that I implemented using Apache Shiro (formerly JSecurity). In order to know the exact visibility rules for an object, I need to run ...

2. enabling grails hibernate filters

Hi I am using the Grails filter plugin I am trying to define a default filter as below

// Defined inside the Book entity
static hibernateFilters = {
    activeFilter(condition:'active=1', ...