Class HibernatePermissionEvaluator

java.lang.Object
ch.tocco.nice2.persist.security.impl.hibernate.HibernatePermissionEvaluator
All Implemented Interfaces:
PermissionEvaluator

@Component public class HibernatePermissionEvaluator extends Object implements PermissionEvaluator
Uses the PersistenceService to evaluate the conditions. This enables selecting only the primary key instead of the entire entity (which is the default of the hibernate implementation of QueryCompiler).