jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <pav...@git.es>
Subject Re: my custom access manager
Date Wed, 12 Apr 2006 14:59:08 GMT
El mié, 12-04-2006 a las 13:55 +0200, Torgeir Veimo escribió:
> 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. 

Can I look at any source with sample code?
-- 
Paco Avila <pavila@git.es>


Mime
View raw message