jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vlad_v <numaplictis...@yahoo.com>
Subject CAS in jackrabbit
Date Mon, 27 Oct 2008 15:38:19 GMT


i'm implementing a class MyCASAccessManager implements AccessManager
and i want to restrict access to repository according to a property value of
each node in repository.

the problem is that in AccessManager, in 
public boolean isGranted(ItemId arg0, int arg1)

with arg0  i can see the current node name that is verified for permission,
is there a way to obtain with this ItemId  the node object? 
( i thought of  getting the property, and then to verify according
to this property if the current user has or not permissions to this node)

or is there another way to do this?

thank you
View this message in context: http://www.nabble.com/CAS-in-jackrabbit-tp20190204p20190204.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message