Skip to main content

Adding a User to Tomcat

Hands-On Lab


Photo of

Training Architect





Welcome to this hands-on lab for adding users to Tomcat 9 using Red Hat Enterprise 8. Apache's Tomcat is a Java based application platform built around deploying and managing Java Web Applications.

This lab focuses on adding new users to an existing Tomcat environment. The server provided is Red Hat Enterprise 8, and has Tomcat 9 preinstalled for you (available on port 8080).

You will log into the server and add a user that uses digest authentication to validate that the password is correct.

You will need to edit the server.xml file

Once you create the SHA-512 key, you will need to change the tomcat-users.xml file to make use of it.

Then you will need to confirm that everything works by logging into the server as that user.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.