tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Configuring Embedded Tomcat
Date Mon, 10 Jan 2011 17:22:20 GMT
On 1/10/11 2:28 PM, Christopher Gross wrote:
> It is specified there -- but I don't have a server.xml file set up.  Since
> I'm using the embedded version, I set up the tomcat on the fly and just have
> the java code start it.

What's stopping you from programmatically creating the Realm and adding
it to the Host?


p


> I looked at the server.xml file that comes with the standard tomcat
> installation, and I see the the UserDatabaseRealm portion.  Can I put that
> into the web.xml file?  Or is there a way for me to enter that into the
> embedded module?
> 
> I'm not sure on what to do here.  Right now it "works", but I'm trying to
> get it so that I can have 2 different users and have them see 2 different
> web apps.  I don't often do sys admin/configuration stuff, I'd rather be
> coding (but I'm waiting for other people to finish up their portions, so I'm
> adding in other niceties that I can get done before I can move on to the
> next big part.)


Mime
View raw message