jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@pobox.com>
Subject Re: custom AccessManager: overwrite isGranted() or checkPermissions()
Date Wed, 01 Mar 2006 22:56:57 GMT
On Thu, 2006-02-16 at 10:19 +0100, stephan lohwasser wrote:
> acls are stored as subnodes of a page with other subnodes for the
> acutal acl entries, which have the properties owner, isNegative and
> permissions. the problems arising are the overhaed (performance) and
> complications of asking the repoisitory each time i ask for a
> permission. what i do is: during system startup the acls are read and
> put into java.security.acl datastructures, which are then queried by
> the access manager. also, the acl structure observes the repository
> and each time an access right is changed for an item the ram structure
> is synchronized with the repository data. 

Do you have any sample code to share?

Torgeir Veimo <torgeir@pobox.com>

View raw message