jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francisco Carriedo Scher <fcarrie...@gmail.com>
Subject Re: Disable basic authentication for HTTP use
Date Tue, 16 Aug 2011 14:38:11 GMT
It worked fine (i am using the .war distribution), thanks a lot Claus!

2011/8/16 KÖLL Claus <C.KOELL@tirol.gv.at>

> Hi,
>
> Take a look into the web.xml in the standalone dist.
> You can configure a missing-auth-mapping Param for the WebDav Servlet.
>
> <init-param>
>            <param-name>missing-auth-mapping</param-name>
>            <param-value>admin:admin</param-value>
>            <description>
>                Defines how a missing authorization header should be
> handled.
>                1) If this init-param is missing, a 401 response is
> generated.
>                   This is suiteable for clients (eg. webdav clients) for
> which
>                   sending a proper authorization header is not possible if
> the
>                   server never sent a 401.
>                2) If this init-param is present with an empty value,
>                   null-credentials are returned, thus forcing an null login
>                   on the repository.
>                3) If this init-param is present with the value
> 'guestcredentials'
>                   java.jcr.GuestCredentials are used to login to the
> repository.
>                4) If this init-param has a 'user:password' value, the
> respective
>                   simple credentials are generated.
>            </description>
> </init-param>
>
> greets
> claus
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message