You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Razat Gupta (razgupta)" <ra...@cisco.com> on 2009/08/11 09:02:16 UTC

Regarding Realm Authentication

Hi All,
 
We are using Tomcat 5 on Linux OS. For validating userids available in
Active Directory using LDAP, JNDI based realm is implemented using
<Realm> tags in Tomcat's server.xml file and this authentication layer
is provided for a particular WAR file available in webapps directory.
Apart from this JNDI realm, we have to authenticate a dummy/test user
which is not available in our Active Directory. Can we place the
dummy/test user in tomcat-users.xml file and use it in parallel with the
JNDI realm or some other way by which we can implement this.
 
regards
Razat

Re: Regarding Realm Authentication

Posted by Mark Thomas <ma...@apache.org>.
Razat Gupta (razgupta) wrote:
>  Hi Mark,
>  
>  Thanks for the reply. Earlier we used to have Tomcat 4 and Apache 1.3 
>  integrated using mod_jk and we were doing this without using tomcat 6. 
>  I am a bit new to the system, so I am not sure what exact 
>  implementation has been done to achieve this in Tomcat 4 and Apache 
>  1.3. Do u have any idea about how it is possible in Tomcat 4 and Apache
> 1.3.

None whatsoever. Anything that worked with 4.1.x should work with 5.5.x
although if you are upgrading, I'm upgrade to 6.0.x rather than 5.5.x

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Regarding Realm Authentication

Posted by "Razat Gupta (razgupta)" <ra...@cisco.com>.
 Hi Mark,
 
 Thanks for the reply. Earlier we used to have Tomcat 4 and Apache 1.3 
 integrated using mod_jk and we were doing this without using tomcat 6. 
 I am a bit new to the system, so I am not sure what exact 
 implementation has been done to achieve this in Tomcat 4 and Apache 
 1.3. Do u have any idea about how it is possible in Tomcat 4 and Apache
1.3.
 
 Regards
 Razat 

-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org] 
Sent: Tuesday, August 11, 2009 2:08 PM
To: Tomcat Users List
Subject: Re: Regarding Realm Authentication

Razat Gupta (razgupta) wrote:
> Hi All,
>  
> We are using Tomcat 5 on Linux OS. For validating userids available in

> Active Directory using LDAP, JNDI based realm is implemented using 
> <Realm> tags in Tomcat's server.xml file and this authentication layer

> is provided for a particular WAR file available in webapps directory.
> Apart from this JNDI realm, we have to authenticate a dummy/test user 
> which is not available in our Active Directory. Can we place the 
> dummy/test user in tomcat-users.xml file and use it in parallel with 
> the JNDI realm or some other way by which we can implement this.

Yes, if you upgrade to 6.0.20 and use the CombinedRealm.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Regarding Realm Authentication

Posted by Mark Thomas <ma...@apache.org>.
Razat Gupta (razgupta) wrote:
> Hi All,
>  
> We are using Tomcat 5 on Linux OS. For validating userids available in
> Active Directory using LDAP, JNDI based realm is implemented using
> <Realm> tags in Tomcat's server.xml file and this authentication layer
> is provided for a particular WAR file available in webapps directory.
> Apart from this JNDI realm, we have to authenticate a dummy/test user
> which is not available in our Active Directory. Can we place the
> dummy/test user in tomcat-users.xml file and use it in parallel with the
> JNDI realm or some other way by which we can implement this.

Yes, if you upgrade to 6.0.20 and use the CombinedRealm.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org