Back Forum Reply New

Authorization using Another Dao to access roles

Hi,          My requirement is to access a custome dao to access roles and configure it acegi security.Example: a existing dao that access a database that contains roles for the users. And I have configure acegi in suchaway that it access the dao methods and authorizes.RsDao{
getResourceRoles(Resource)
getResourceRoles(String)
getResources()
}The options that I can think are:  1)Write custom interceptor that access the dao to get the user roles.  2)replace JDBCDaoImpl

I am not sure of above options work, I am still researching.
I would appreciate if anybody can throw some thoughts on this.

I would have thought you could just write your own JdbcDaoImpl, it should be quite straight forward.
¥
Back Forum Reply New