you can create a JDBCRealm for each virtual host that has its own table for logins. You really shouldn't use the MemeoryRealm(a flat file) for production.
Charlie > -----Original Message----- > From: Philipp Sumi [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 04, 2002 8:57 AM > To: Tomcat Users List > Subject: Re: Use manager with different hosts > > > Hello Charlie > > You are right, but the other virtual host looks up the > password in the same > file. To get the manager context of virtual host B, I can enter my > id/password I used on virtual host A to get access... > > Philipp > > > ----- Original Message ----- > From: "Cox, Charlie" <[EMAIL PROTECTED]> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > Sent: Monday, March 04, 2002 2:33 PM > Subject: RE: Use manager with different hosts > > > > each virtual host is independent. Therefore tomcat only > keeps the login > > information for the current virtual host and applies it to > any required > > context(manager is a context). Noone should be able to manage other > virtual > > hosts. > > > > Charlie > > > > > -----Original Message----- > > > From: Philipp Sumi [mailto:[EMAIL PROTECTED]] > > > Sent: Saturday, March 02, 2002 4:18 PM > > > To: Tomcat Users List > > > Subject: Fw: Use manager with different hosts > > > > > > > > > Hello > > > > > > ...I recently sent my first post to this mailing list and did > > > wonder why I > > > didn't get a copy of it... First, I thought that the > server probably > > > recognizes me as the sender and doesn't send me the question > > > I already know, > > > but I found it a bit strange (also because I'm also on the > > > Velocity list > > > which doesn't behave so). However, there was also no response > > > to my mail and > > > so I decided to send it again. If you got it twice, I > would be glad if > > > somebody could tell me (before I start bugging the admin > > > because I think > > > something's wrong :-) > > > > > > Thank you > > > > > > Philipp > > > > > > > > > > > > > > > > > > > Hello > > > > > > > > > > > > My first post on this list - hello :-) > > > > > > > > I can't figure out how I can use the manager app savely > with various > > > virtual > > > > hosts. Of course, I can set the manager for every host, but > > > then every > > > user > > > > would be able to shut down contexts of his own as well as > > > of other hosts, > > > if > > > > he knows any (www.myhost.com/manager and > > www.myenemyshost.com/manager use > > > both tomcat-user.xml). A workaround would be to name the > path that calls > > the > > > manager app differently for every host (www.myhost.com/manager234), but I > > guess there must be a (much) better solution.... > > > > Thanks for your advice > > > > Philipp > > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
