jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sriraj paul <srirajp...@yahoo.co.uk>
Subject Access control manager removing previlages
Date Fri, 12 Nov 2010 14:17:50 GMT
Hi,

I am trying to use Access control manager. 
My requirement is to disallow a user from reading a node.

To allow with some previlage i saw a method in AccessControlList as
addAccessControlEntry(java.security.Principal principal, Privilege[] privileges) 


But for disallowing the a user from any previlage all is could i find is from 
JackrabbitAccessControlList
addEntry(Principal principal, Privilege[] privileges, boolean isAllow) 

Is'nt there any JCR equilavent for this method? Is JackrabbitAccessControlList 
is the only option?

Thank you
Sriraj


      

Mime
View raw message