LoÃc QuÃran wrote:

Use Role, Permission and Group objects as parameters instead of String,
and Turbine should be faster.

LoÃc




I actually already considered that, but it does not make very much sense for my current project. Part of the "checking" is done within velocity templates, where I only have strings (unless I write some tool that or put Group/Permission objects into the context using the PullService or something...). Even for the checks in my java classes, I would have to keep a reference to those objects, which is not very convenient (unless done in one central place - the security service).

Eric Pugh wrote:

Use the HibernateSecurityService in Fulcrum.  Hibernate has very
comprehensive caching, and there is an adapter so you can use it with
Turbine 2.3.  Check out the unit tests for Fulcrum Security for examples.

Eric

The HibernateSecurityService certainly looks interesting.
Is there an example config, that shows how to set this thing up, so it uses the TURBINE_* tables? I looked at http://cvs.apache.org/viewcvs.cgi/jakarta-turbine-fulcrum/src/test/org/apache/fulcrum/security/, but the those tests have already been moved to the "Attic". I am not sure where to find those unit tests/example configs you mentioned?


Thanks,
Edmund

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to