Re: T5.3: enable security filters for hibernate Session based on ASO object

2014-02-27 Thread Yago González
See this: http://jumpstart.doublenegative.com.au/jumpstart/examples/infrastructure/protectingpages 2014-02-27 12:25 GMT+01:00 Dmitriy Vsekhvalnov : > Hi all, > > looking for some ideas how to do subj. Would like to enable hibernate > filters on session dynamically, based on current security pri

T5.3: enable security filters for hibernate Session based on ASO object

2014-02-27 Thread Dmitriy Vsekhvalnov
Hi all, looking for some ideas how to do subj. Would like to enable hibernate filters on session dynamically, based on current security principal. E.g. filter names to enable are stored in application state object. Currently thinking to decorate HibernateSessionManager or override with custom imp