Now, your Tomcat server is enabled with two-factor authentication, and the access to the web page “/sample/hello.jsp” requires two-factor authentication. 

To make a quick test, visit the /sample application in a web browser by URL:

Clicking the link “page protected by 2FA”, you’ll be redirected to the DualShield SSO server to be authenticated with TFA:


Once you have been successfully authenticated, you’ll be redirected back to your web application and grated access to the protected page, /sample/hello.jsp