Re: Authentication with Tomcat 3.2 and IIS4

2001-11-19 Thread Samuel Rochas

Hello, 

Thank you for the help. Your messages helped me to understand better how
the thing is working, but the problem is still there.

I am now able to make FORM authentication (with both Tomcat 3.2 and 3.3)
but the BASIC authentication is NOT working. 

I've tried the MemoryRealm only (thanks Craig, I've tried neither
JDBCRealm nor JNDIRealm yet, maybe later, I want to make work the simple
things first).

Does anybody have an Idea?

Sincerly
Samuel
-- 
SWIPe Software Engineering & Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

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




RE: Authentication with Tomcat 3.2 and IIS4

2001-11-16 Thread Jim Urban

You must restart Tomcat for the changes to take effect.

Jim

-Original Message-
From: Samuel Rochas [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 11:16 AM
To: Tomcat Users List
Subject: Re: Authentication with Tomcat 3.2 and IIS4


Hello,

Ok, I am now able to prompt for a dialog box, asking for username and
password. So far, exactly what I wanted.

I have configured a user in the file /conf/tomcat-users.xml according to
the role defined in the role defined in the security constraint for the
application.
The trouble is that Jakarta does not regognize any of the defined user
and I can't access the page. Can somebody tell me why? Should I make
further changes in other config files?

Sincerly
Samuel

Barney Hamish wrote:
>
> There is also a simple xml file authentication method that Tomcat uses by
> default. You just add log-ins to an xml file. I believe there is an
example
> included with the Tomcat download (examples/jsp/security I think)
>
> Hamish
>
--
SWIPe Software Engineering & Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

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




RE: Authentication with Tomcat 3.2 and IIS4

2001-11-16 Thread Ignacio J. Ortega

This is a known problem (related to ajp13 and ajp12 connector), Tomcat
3.3 has the fix for this.., 

Saludos ,
Ignacio J. Ortega


> -Mensaje original-
> De: Samuel Rochas [mailto:[EMAIL PROTECTED]]
> Enviado el: viernes 16 de noviembre de 2001 18:16
> Para: Tomcat Users List
> Asunto: Re: Authentication with Tomcat 3.2 and IIS4
> 
> 
> Hello, 
> 
> Ok, I am now able to prompt for a dialog box, asking for username and
> password. So far, exactly what I wanted.
> 
> I have configured a user in the file /conf/tomcat-users.xml 
> according to
> the role defined in the role defined in the security 
> constraint for the
> application. 
> The trouble is that Jakarta does not regognize any of the defined user
> and I can't access the page. Can somebody tell me why? Should I make
> further changes in other config files?
> 
> Sincerly
> Samuel
> 
> Barney Hamish wrote:
> > 
> > There is also a simple xml file authentication method that 
> Tomcat uses by
> > default. You just add log-ins to an xml file. I believe 
> there is an example
> > included with the Tomcat download (examples/jsp/security I think)
> > 
> > Hamish
> > 
> -- 
> SWIPe Software Engineering & Project Management GmbH
> 
> Solutions with Individual Profile
> 
> Web: http://www.swipe.de
> 
> --
> 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]>




Re: Authentication with Tomcat 3.2 and IIS4

2001-11-16 Thread Craig R. McClanahan



On Fri, 16 Nov 2001, Samuel Rochas wrote:

> Date: Fri, 16 Nov 2001 14:16:25 +0100
> From: Samuel Rochas <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: Authentication with Tomcat 3.2 and IIS4
>
> Hello Hamish,
>
> Thanks for your answer.
> Do you mean, the authentification and user management with Jakarta runs
> with the help of a database? Do I have other possibilities like using a
> config file instead of a database?
>

For Tomcat 4, there are a variety of places you can tell Tomcat to go vor
validating users.  Docs are included with Tomcat, and also available
online:

  http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html

> Sincerly
> Samuel

Craig


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




Re: Authentication with Tomcat 3.2 and IIS4

2001-11-16 Thread Samuel Rochas

Hello, 

Ok, I am now able to prompt for a dialog box, asking for username and
password. So far, exactly what I wanted.

I have configured a user in the file /conf/tomcat-users.xml according to
the role defined in the role defined in the security constraint for the
application. 
The trouble is that Jakarta does not regognize any of the defined user
and I can't access the page. Can somebody tell me why? Should I make
further changes in other config files?

Sincerly
Samuel

Barney Hamish wrote:
> 
> There is also a simple xml file authentication method that Tomcat uses by
> default. You just add log-ins to an xml file. I believe there is an example
> included with the Tomcat download (examples/jsp/security I think)
> 
> Hamish
> 
-- 
SWIPe Software Engineering & Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

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




RE: Authentication with Tomcat 3.2 and IIS4

2001-11-16 Thread Barney Hamish

There is also a simple xml file authentication method that Tomcat uses by
default. You just add log-ins to an xml file. I believe there is an example
included with the Tomcat download (examples/jsp/security I think)

Hamish

-Original Message-
From: Samuel Rochas [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 2:16 PM
To: Tomcat Users List
Subject: Re: Authentication with Tomcat 3.2 and IIS4


Hello Hamish, 

Thanks for your answer.
Do you mean, the authentification and user management with Jakarta runs
with the help of a database? Do I have other possibilities like using a
config file instead of a database?

Sincerly
Samuel
-- 
SWIPe Software Engineering & Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

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




Re: Authentication with Tomcat 3.2 and IIS4

2001-11-16 Thread Samuel Rochas

Hello Hamish, 

Thanks for your answer.
Do you mean, the authentification and user management with Jakarta runs
with the help of a database? Do I have other possibilities like using a
config file instead of a database?

Sincerly
Samuel
-- 
SWIPe Software Engineering & Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

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




RE: Authentication with Tomcat 3.2 and IIS4

2001-11-16 Thread Barney Hamish

There is documentation on setting up JDBC authentication/JDBC Realms:
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/index.html

One thing I found that wasn't documented you need to add 
//j_security_check=$(default.worker)
to your uriworkermap.properties file so that the request is redirected to
IIS correctly.

Hamish

-Original Message-
From: Samuel Rochas [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 1:58 PM
To: Tomcat Users List
Subject: Authentication with Tomcat 3.2 and IIS4


Hello, 

Using Jakarta on IIS makes the authentication through IIS not working.

I have to configure Jakarta in order to allow the access to some
directories only after an authentication. I don't want to change my
application for that, furthermore I want to use Jakarta-Features for it. 

I am also looking for information how to customize the configuration
files (*.xml) and I did not find much in some FAQs 'till now. Can
anybody tell me which configuration files are involved? Which changes
are needed in these files?

Is there an online source for my request?

Thanks
Samuel
-- 
SWIPe Software Engineering & Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

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

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