Create Users and Roles in Tomcat Follow
The following article will walk you through the steps on how to add users in Tomcat.
The ServiceManager supports the following roles:
User roles: manage access to ServiceManager data
Below are the steps to add users in Tomcat:
- Open $CATALINA_HOME/conf/tomcat-users.xml with your preferred editor.
e.g. /usr/local/jakarta/jakarta-tomcat-4.1.31/cinf/tomcat-users.xml - Add lines as in the example below into the <tomcat-users> node:
<tomcat-users>
<role rolename="webuser"/>
<role rolename="manager"/>
<role rolename="developer"/>
<role rolename="rpa_user"/>
<role rolename="viewer"/>
<user username="user1" password="password1" roles="webuser"/>
<user username="user2" password="password2" roles="manager"/>
<user username="user3" password="password3" roles="developer"/>
<user username="user4" password="password4" roles="rpa_user"/>
<user username="user5" password="password5" roles="viewer"/>
</tomcat-users>
- Restart tomcat
You have now successfully added users in Tomcat!
Comments
0 comments
Please sign in to leave a comment.