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