> From: Mark Leone [mailto:[EMAIL PROTECTED] > Subject: Re: Manager app authentication not working with JDBCRealm > > I wonder if the use of the UserDatabase resource is > hard-wired into the manager app somehow.
It's not; we use a JAASRealm for Tomcat 6.0.16 production, and the manager app quite happily authenticates with that. All we changed in server.xml and the manager's web.xml were the following: conf/server.xml: 1) commented out the UserDatabase <Resource> 2) commented out the UserDatabaseRealm <Realm> 3) added the <Realm> for JAASRealm (There is no <Resource> for a JAASRealm, of course.) webapps/manager/WEB-INF/web.xml: 1) changed the <role-name> inside the <auth-constrain> to what we needed 2) changed the <role-name> inside <security-role> to the same as in #1 3) added a <transport-guarantee> of CONFIDENTIAL (irrelevant to your situation) Note that we left the <resource-env-ref> for org.apache.catalina.UserDatabase alone. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]