jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@day.com>
Subject Re: litmus results
Date Fri, 01 Apr 2005 06:13:54 GMT
> one other behavior i noted today was that when a user doesn't have 
> permission to view a repository item, the webdav response code is 404, 
> not 403 as i'd expect. any thoughts on this?

if the user is not allowed to see a certain item, Session.getItem
will throw. i did not distinguish between the 2 exception that
are possible: PathNotFound (404) and RepositoryException (any other 
error including AccessDeniedException).

but i have not strong feelings regarding this. i can change it
to throw in case of RepositoryException (resulting in 403).
i will open a bug...


View raw message