You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Robert Harper <ro...@iat-cti.com> on 2004/06/17 00:52:18 UTC

setting user role

OK I've tried all I can figure out and I have gotten so that I can add a user to
the tomcat-users.xml using the MBeanServer interface but now how do I add roles
to the user? Using the ObjectName with the value set to 

 

"Users:type=UserDatabase,database=UserDatabase" and the action set to "addRole"

 

I only add a role to the database. I need a way to add the role to the user. I
have tried setting the name to 

"User:type=UserDatabase,database=UserDatabase",

"Users:type=User,database=UserDatabase",

"User:type=User,database=User", . etc. 

 

and all I get for this is and exception that the bean cannot be found. What is
the name of the bean used to manage user-roles?

 

Robert S. Harper

Senior Engineer

1100 East 6600 South, Suite 300

Salt Lake City, UT 84121-7411

801.265.8800 ex. 255