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

Reply via email to