Run the project by executing the mvn jetty:runcommand. Once you see the log shown in the following screenshot, open a browser and go to http://localhost:8080:
Figure 09: Jetty Server running - console log
Once you access the URL, the browser prompts with a default basic authentication dialog, as shown in the following screenshot. Enter theUsername and Password as admin/admin@password and click on Log In:
Figure 10: Basic authentication dialog in the browser
If your credentials are correct and if the user has either the ADMIN or USER role, you should see the home page as follows: