[Cosmo-dev] acegi ACL implementation - more thoughts

Vinubalaji Gopal vinu at osafoundation.org
Tue Nov 21 13:45:53 PST 2006


On Tue, 2006-11-21 at 12:29 -0800, Brian Moseley wrote:

> i'd rather use one mapping mechanism, and the annotations are REALLY
> nice. what base classes are you referring to - the acegi ones?
Yes the acegi classes - AclImpl, AccessControlEntryImpl, etc. I could
provide my own implementation of Acl, AccessControlEntry - but that will
mostly be rewriting the same thing again. So thought providing mappings
based on the existing implementation will be easy/effective reuse.

> 
> > 2. There has been some interests on the acegi forum about the hibernate
> > based acl implementation (old implementation)
> > http://forum.springframework.org/showthread.php?t=13956
> > http://forum.springframework.org/showthread.php?t=13956


Yeh I was also tempted long time then thought that providing a single
hibernate based implementation for all the data access will be a nice
solution. Then if performance is better achieved using jdbc, we need to
compromise.
Hibernate based ACL implementation in acegi issue was closed saying
performance is better achieved using JDBC.
http://opensource.atlassian.com/projects/spring/browse/SEC-92

so if everyone agrees on using jdbc for acl, we could go ahead with it.
If you feel that if we can get the same kind of performance using
hibernate, then I could have those implementations now.


>   - define o.o.c.dao.AclDao interface
>    - add a AclDao dependency to UserService and ContentService
>    - provide a o.o.c.dao.acegi.AcegiJdbcAclDao adapter to acegi's
> dbcExtendedDaoImpl
The new acegi does not have this dao's. Checkout the acls directory in
acegi 1.0.3.  AclImpl is the implementation of all the Acl interfaces -
JdbcAclService, JdbcMutablAclService (in acls/jdbc directory) are the
services which insert, delete, modifies the actual tables.  


>yet. upgrading spring and acegi are
>a lower priority than our newer feature work, so it's possible they'll
>slip to the next release. 

can you provide me with the osafoundation's url of the sources for the
external libraries - esp acegi. I always get lost trying to find them.





More information about the cosmo-dev mailing list