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:
http://dualshield.deepnetsecurity.local/...
![DualShield MFA Platform > Authentication [TMC] > image2014-4-28 22:26:23.png](/download/attachments/85557822/image2014-4-28%2022%3A26%3A23.png?version=1&modificationDate=1668186164000&api=v2)
![DualShield MFA Platform > Authentication [TMC] > image2014-4-28 22:26:30.png](/download/attachments/85557822/image2014-4-28%2022%3A26%3A30.png?version=1&modificationDate=1668186164000&api=v2)
![DualShield MFA Platform > Authentication [TMC] > image2014-4-28 22:26:43.png](/download/attachments/85557822/image2014-4-28%2022%3A26%3A43.png?version=1&modificationDate=1668186164000&api=v2)
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
![DualShield MFA Platform > Authentication [TMC] > image2014-4-28 22:29:25.png](/download/attachments/85557822/image2014-4-28%2022%3A29%3A25.png?version=1&modificationDate=1668186164000&api=v2)