basic authentication error page

2003-06-09 Thread Vladimer Shioshvili
Can i define the error page for the basic authentication? amd if yes, 
where? i have tried to define error-page for code 401, but realized that i 
am using constraint on everything , thus i am guessing that error page may 
be falling under the constraint as well. (not sure about that though..)

Thus, how can i  modify HTTP Status 401 - Unauthorized to be what i want it 
to be?

PS. i am trying to define security constraint in conf/web.xml for every context

I've tried to look for the solution on the web, but didn't have any luck. 
Any help is greatly appreciated.




Vladimer Shioshvili
QRC Division of Macro International Inc.
7315 Wisconsin Avenue, Suite 400W
Bethesda, MD 20814
Phone: (301) 657 3077 ext. 155 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Basic Authentication error page? [repost]

2001-11-29 Thread yilmaz

hi Barry,
if you want to customize your error page or login page
you had better use form based authentication.
below is a website where you can get enough information about that:

http://www.onjava.com/pub/a/onjava/2001/08/06/webform.html?page=1
hope it helps :)

- Original Message -
From: "Barry L. White" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 1:19 PM
Subject: Basic Authentication error page? [repost]


> OS: W2K
> Tomcat: 4.0
>
> I have been searching through the Tomcat and Sun docs to try to find out
if
> it is possible to have an error page with BASIC authentication.  I would
> prefer to show a custom error page when a user mistypes there username or
> password, rather than general the ERROR 401 page.
>
> I know this is possible with Apache, but how do I do it with Tomcat?
>
> In my web.xml I have:
> 
>   
>inqadmin
>/admin/*
>   
>   
>inqadmin
>   
>  
>
>  
>   BASIC
>   Test
>  
>
> I can find no docs that say anything about having a  within
the
> .
> I have tryed this both in and outside of the :
> 
>   401
>   /errors/401.html
>  
>
> But I get a error 500.
>
> Thanks for your time,
> Barry
>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Basic Authentication error page? [repost]

2001-11-28 Thread Barry L. White

OS: W2K
Tomcat: 4.0

I have been searching through the Tomcat and Sun docs to try to find out if
it is possible to have an error page with BASIC authentication.  I would
prefer to show a custom error page when a user mistypes there username or
password, rather than general the ERROR 401 page.

I know this is possible with Apache, but how do I do it with Tomcat?

In my web.xml I have:

  
   inqadmin
   /admin/*
  
  
   inqadmin
  
 

 
  BASIC
  Test
 

I can find no docs that say anything about having a  within the
.
I have tryed this both in and outside of the :

  401
  /errors/401.html
 

But I get a error 500.

Thanks for your time,
Barry



--
To unsubscribe:   
For additional commands: 
Troubles with the list: