jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sushil Vegad <vsus...@serebrum.com>
Subject Re: webdav-control nodes(folders) to display
Date Wed, 02 Apr 2008 21:48:32 GMT



> hello,
> 
>>can please check if you really get the correct 
>>session for the various users? if this is not the case,
>>please check if your servlet configuration does not 
>>have a default username/pw set in the missing-auth 
>>init-param (that would always give you the a session for the same user).
> 
> I am not getting the correct session for different users. Even if I login
> as user@company.com, it always returns admin@company.com. I dont have the
> missing-auth-mapping init-param set. I am not clear if you are saying if I
> should set it? If it is to be set, it should be set for
> RepositoryAccessServlet or SimpleWebdavServlet? If it is not to be set,
> then any idea why I always get the same user?
> 
> I was wrong in saying we have access control information defined in the
> JCR repository. The ACL information resides in DB; we are able to use
> ItemFilter's -> isFilteredNodeType(Item item) method to filter out nodes
> as per user
> 
> Thanks again for your help.
> Sushil
> 


Angela Schreiber wrote:
> 
> hi
> 
>> How can I get this done through SimpleWebdavServlet? What cusomization is
>> required?
> 
> basically you shouldn't have to add any customization
> as long as the correct session is attached to the
> request AND the ac-evaluation is correct implemented.
> 
> by the default that is expected to work properly.
> the user gets prompted for username/pw and subsequently
> a corresponding Repository.login is performed using the
> username/pw pair to obtain a Session.
> 
> can please check if you really get the correct session
> for the various users? if this is not the case, please
> check if your servlet configuration does not have a default
> username/pw set in the missing-auth init-param (that would
> always give you the a session for the same user).
> 
> regards
> angela
> 
> 

-- 
View this message in context: http://www.nabble.com/webdav-control-nodes%28folders%29-to-display-tp16423305p16452182.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message