You can use Acegi to provide user security and ACL's

http://www.acegisecurity.org/

--
Paul Skinner




From: Torgeir Veimo <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: my custom access manager
Date: Wed, 12 Apr 2006 13:55:25 +0200

On Wed, 2006-04-12 at 13:35 +0200, Paco Avila wrote:
> I am developing my custom AccessManager for my jacrabbit based project.
> User access information is stored in the Nodes. So, I need to access
> this Node Properties in my custom AccessManager. But I can't because
> this property access is also checked for security access and will loop
> until infinite :(
>
> How can I access this properties without invoking the AccessManager
> again?

I think it's the general concensus that the best way to implement node
stored ACLs in jackrabbit 1.0 is to set up a repository listener at
application start-up that logs in with special credentials that your
access manager recognises and honours. This listener then keeps a map
ACLs, keyed on nodeid, which your access manager uses to get at ACLs
when authorising operations on nodes.

--
Torgeir Veimo <[EMAIL PROTECTED]>


_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters

Reply via email to