Form/Basic Authentication

2001-11-26 Thread Erwin Ambrosch

Hi,

I have the following behaviour using Tomcat 3.2.3 on RH Linux 7.1.

If I use either FORM based or BASIC authentication, for the very first 
login I get the login form/dialog two times.
1. First time after accessing the protected area as defined in web.xml 
for the very first time.
2. Second time after sending a request within the already logged on 
protected.

 From know on everything works fine. Logging out forces me to login 
again, but just one time as excpected.

Thanks for any comment

Erwin



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




Re: Form/Basic Authentication

2001-11-26 Thread Scott Edwards

Erwin,

I've seen similar behavior with the container when the domain reference 
to the pages change. For example:

http://myServer/secure/index.jsp

would cause the login page to occur. But if something within the site 
refers to

http://myServer.myCompany.com/secure/someOther.jsp

then the difference in domain causes a new authenication, despite the 
fact that it is the same site being accessed. I might be wrong about 
this, but where I have seen this behavior using Container Managed 
Security, this has been my problem.

-Scott Edwards

Erwin Ambrosch wrote:

 Hi,

 I have the following behaviour using Tomcat 3.2.3 on RH Linux 7.1.

 If I use either FORM based or BASIC authentication, for the very first 
 login I get the login form/dialog two times.
 1. First time after accessing the protected area as defined in web.xml 
 for the very first time.
 2. Second time after sending a request within the already logged on 
 protected.

 From know on everything works fine. Logging out forces me to login 
 again, but just one time as excpected.

 Thanks for any comment

 Erwin



 -- 
 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]