jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Strasser <tobias.stras...@gmail.com>
Subject Re: litmus results
Date Sat, 02 Apr 2005 19:46:43 GMT
i committed angelas latest changes, and added an init-param for
configuring how an empty 'authorization' header should be handled.

the problem is that most (webdav)clients first issue a request without
authorization header, even if you specify a user/pass (eg. m$
webfolders). this resulted in a null-login on the repository, which
gives a read-only user (with the default settings).
i added the 'missing-auth-mapping' init parameter for the
RepositoryAccessServlet. If this param is given, a null-login or a
predefined user-login is done. if this param is missing, the servlet
throws a LoginException which results in sending a 401.
i know, that certain operations are not done at the correct place yet
(eg, the RepositoryAccessServlet might not be the correct place to
extract the credentials) - consider this as a first workaround to
circumvent the login issues....

cheers, tobi
------------------------------------------< tobias.strasser@day.com >---
Tobias Strasser, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97 
-----------------------------------------------< http://www.day.com >---

View raw message