tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakarta Tomcat Newsgroup ( <>
Subject Re: HELP!! Container managed authentication problem with Apache 1.3 + Tomcat 4 + Warp
Date Tue, 02 Apr 2002 02:10:01 GMT
Subject: Re: HELP!! Container managed authentication problem with Apache 1.3 + Tomcat 4 + Warp
From: "Hyunjin Kim" <>
uh oh...

I just found out that tomcat example application's security stuff works fine
from port 80. That means the apache-tomcat connection was not the problem...

I also found out that the username/password combination defined in
/jakarta-tomcat/conf/tomcat-users.xml works(go through the authentication
with role defined in that tomcat-users.xml file).

and that doesn't make sense....

here's my server.xml for the application i am developing:

<!-- Nano Enc Context -->
  <Context path="/nanoenc" docBase="nanoenc"
   debug="0" reloadable="true">
    <Logger className="org.apache.catalina.logger.FileLogger"
     prefix="nanoenc_log." suffix=".txt"

    <!-- Using JCBC Realm for security reasons.. -->
    <Realm  className="org.apache.catalina.realm.JDBCRealm" debug="99"
     userTable="tblUSER" userNameCol="user_name" userCredCol="user_password"
     userRoleTable="tblUSER_ROLE" roleNameCol="role_name" />

I haven't deleted the
      <Realm className="org.apache.catalina.realm.MemoryRealm" />
section that came with server.xml file, but it said realm from lower level
would override the global one.. so.. this should work right?? (Of course it
works when called from stand alone tomcat...)

and my web.xml for my

   <web-resource-name>Intranet Security Constraint</web-resource-name>


I think I am very close... but no cigar yet..

I need to have apache understand that I am going to use different
authentication method for context "nanoenc". (it might be impossible for me
to fix this without changing code for warp or tomcat.. i guess..)

If you give me any idea or helping hand, I will really appreciate.
Thank you!!

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message