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.)

Attachment: 0x62590808.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to