W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1997

Re: Localized Authentification Access Denied

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Mon, 29 Sep 1997 12:09:08 +0200
Message-Id: <199709291009.MAA27971@www43.inria.fr>
To: Emmanuel CASTRO <castro@lirmm.fr>
cc: www-jigsaw@w3.org, bmahe@www43.inria.fr
> When an authentification fails, GenericAuthFilter.authentificate throws
> an english written message:
> 
> Unauthorised access
> 
> You are denied access to this resource. 
> 
> 
> It would be fine if in next release, GenericAuthFilter was added with a
> new attribute with and URL for unauthorised access with a custom
> message. The default attribute value would be the actual english one.
> 
> Emmanuel CASTRO
> 

You can redifine on the fly all the error
messages flowing out of Jigsaw. The general principle is that all
error messages comming out of Jigsaw are filtered, and intercepted.
Jigsaw then uses internal requests to query some other resource for
generating the exact text of the error message. 

use an ErrorFilter. see the documentation at 

 User/Reference/w3c.jigsaw.filters.ErrorFilter.html



- Benoît Mahé -------------------------------------------------------
World Wide Web Consortium                       bmahe@sophia.inria.fr 
Architecture domain - Jigsaw Team               tel : 04 93 65 79 89
---------------------------------------------------------------------
Received on Monday, 29 September 1997 06:09:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:26 GMT