Apache 2.0 Authentication LDAP

2008-09-22 Thread Arun Raj Ramkumar
Hi Friends,
 
I have recently migrated my webapp from tomcat 4.x to 6.0 . Please let me
know how to set up Apache 2.0 for authentication(using LDAP) by connecting
it with tomcat 6.0 . Please let me know the steps to be followed 
like changes in httpd.conf . I am using Linux server. Is there  any settings
need to be changed for linux server. Earlier i used sunOS.
 
Regards,
Arun.


Re: Apache 2.0 Authentication LDAP

2008-09-22 Thread André Warnier

Arun Raj Ramkumar wrote:

Hi Friends,
 
I have recently migrated my webapp from tomcat 4.x to 6.0 . Please let me

know how to set up Apache 2.0 for authentication(using LDAP) by connecting
it with tomcat 6.0 . Please let me know the steps to be followed 
like changes in httpd.conf . I am using Linux server. Is there  any settings

need to be changed for linux server. Earlier i used sunOS.
 

Hi Arun.
As asked, your question is difficult to understand, and even more to 
answer I think.

What is exactly what should happen where ?
I'll give you a possible scenario, and you tell us if this scenario is 
what you want to do, or tell us your own scenario, ok ?


My scenario :
Your configuration is such that all HTTP (browser) accesses go to Apache 
first.  Apache does the authentication via LDAP (using for example 
mod_authnz_ldap) for any URLs that are protected (including the ones 
that go later to Tomcat).
Than Apache decides which calls go to Tomcat (via a mod_jk connector or 
mod_proxy_ajp).
mod_jk (and the Tomcat side of that connector) is configured so that the 
Apache authentication is passed on to Tomcat.
Tomcat itself does not do authentication, but relies on the user-id 
passed on by Apache (and the roles defined in Tomcat) to access the 
Tomcat applications.



re : http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html
re : Tomcat Connector, attribute tomcatAuthentication or something 
like that.



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache 2.0 Authentication LDAP

2008-09-22 Thread Arun Raj Ramkumar
Hi,
Yes , that is my scenario. Please let me know what are the settings or
changes I need to do for Apache authentication via LDAP.

Regards,
Arun 

-Original Message-
From: André Warnier [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 22, 2008 4:19 PM
To: Tomcat Users List
Subject: Re: Apache 2.0 Authentication LDAP

Arun Raj Ramkumar wrote:
 Hi Friends,
  
 I have recently migrated my webapp from tomcat 4.x to 6.0 . Please let 
 me know how to set up Apache 2.0 for authentication(using LDAP) by 
 connecting it with tomcat 6.0 . Please let me know the steps to be 
 followed like changes in httpd.conf . I am using Linux server. Is 
 there  any settings need to be changed for linux server. Earlier i used
sunOS.
  
Hi Arun.
As asked, your question is difficult to understand, and even more to answer
I think.
What is exactly what should happen where ?
I'll give you a possible scenario, and you tell us if this scenario is what
you want to do, or tell us your own scenario, ok ?

My scenario :
Your configuration is such that all HTTP (browser) accesses go to Apache
first.  Apache does the authentication via LDAP (using for example
mod_authnz_ldap) for any URLs that are protected (including the ones that go
later to Tomcat).
Than Apache decides which calls go to Tomcat (via a mod_jk connector or
mod_proxy_ajp).
mod_jk (and the Tomcat side of that connector) is configured so that the
Apache authentication is passed on to Tomcat.
Tomcat itself does not do authentication, but relies on the user-id passed
on by Apache (and the roles defined in Tomcat) to access the Tomcat
applications.


re : http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html
re : Tomcat Connector, attribute tomcatAuthentication or something like
that.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache 2.0 Authentication LDAP

2008-09-22 Thread André Warnier

Arun Raj Ramkumar wrote:

Hi,
Yes , that is my scenario. Please let me know what are the settings or
changes I need to do for Apache authentication via LDAP.



I already did.
Just click on the link I provided in the previous answer.
This is a help forum, and we do what we can.  But people who ask for 
help are expected to at least make a little effort to read the available 
on-line documentation, which in this case is very good.

Then try to set it up following the instructions.
Then, if there is something you do not understand, you can always come 
back here with a precise question.

Ok ?

André

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache 2.0 Authentication LDAP

2008-09-22 Thread André Warnier

André Warnier wrote:
Then, if there is something you do not understand, you can always come 
back here with a precise question.


I forgot to say that if your problem is related to the Apache httpd 
setup of LDAP, then you would be better off trying the Apache httpd 
support list.
Issues related to Tomcat, and even to Apache/Tomcat connectors like 
mod_jk, will be handled here.
But for issues directly related to Apache httpd and the LDAP 
authentication at the Apache httpd level, you will get better/faster 
answers at

[EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache 2.0 Authentication LDAP

2008-09-22 Thread Arun Raj Ramkumar
Thanks a lot Andre..
Will get back to you.. After verifying the docs 

-Original Message-
From: André Warnier [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 22, 2008 5:55 PM
To: Tomcat Users List
Subject: Re: Apache 2.0 Authentication LDAP

André Warnier wrote:
 Then, if there is something you do not understand, you can always come 
 back here with a precise question.

I forgot to say that if your problem is related to the Apache httpd setup of
LDAP, then you would be better off trying the Apache httpd support list.
Issues related to Tomcat, and even to Apache/Tomcat connectors like mod_jk,
will be handled here.
But for issues directly related to Apache httpd and the LDAP authentication
at the Apache httpd level, you will get better/faster answers at
[EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]