whats in your web.xml ?

is your app forcing a login ?

all the realm provides is a system to do authentication
unless you are triggering it, it isn't used....



On Wed, 2008-03-12 at 10:36 +0000, Edward Quick wrote:
> Hi,
> 
> I would like to specify my own tomcat-users.xml for my webapp to use (not the 
> server's main one in  conf/tomcat-user.xml).
> 
> I tried the following configuration in my webapp's context.xml file but 
> unfortunately when I went to the URL, I wasn't even prompted for a logon:
> 
> <Context path="/sample" debug="0" privileged="true">
>         <Realm className="org.apache.catalina.realm.MemoryRealm" 
> path="/tmp/tomcatusers.xml" />
> </Context>
> 
> Could someone tell me if this is possible, and if so what I need to do to set 
> up the login prompt please?
> 
> Thanks,
> 
> Ed.
> 
> 
> 
> _________________________________________________________________
> Telly addicts unite!
> http://www.searchgamesbox.com/tvtown.shtml


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

Reply via email to