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. Si=
nce
> 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 t=
hat
> into the web.xml file? Or is there a way for me to enter that into the=
> embedded module?
>=20
> 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 differe=
nt
> web apps. I don't often do sys admin/configuration stuff, I'd rather b=
e
> coding (but I'm waiting for other people to finish up their portions, s=
o I'm
> adding in other niceties that I can get done before I can move on to th=
e
> next big part.)
|