DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27018>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27018

Dangling subject in permission of an object node causes failure in retrieving the 
object node





------- Additional Comments From [EMAIL PROTECTED]  2004-02-26 09:54 -------
The scenario is this.  /users is a custom store that retrieves users and groups
from LDAP server.  Users may be deleted outside of Slide.  If a group or users
is deleted in LDAP after it is granted permissions to an object node in Slide,
hasPermission() always throws ObjectNotFoundException when it tries to retrieve
the permission subject uri.

The following are the lines that cause ObjectNotFoundException:

SecurityImplAllGrant, rev. 1.6, 

line 169:

ObjectNode group = permissionSubjectUri.getStore().retrieveObject              
             (permissionSubjectUri);

line 189:

ObjectNode childNode = childUri.getStore().retrieveObject                      
                 (childUri);

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to