THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
This is best tested with two different browsers (eg Firefox and IE): #
- Install the client certificate in one of the Browsers (if it isn't already)
...
- Fire up this browser and visit your protected page
...
- You should be promted for the certificate as before, select it as before
...
- You should be logged into the site, as before
...
- Now fire up the other browser, the one without the certificate
...
- Attempt to access your protected page
...
- Depending on your Browser you may be promted about the certificate - click "cancel" if this is the case
...
- You should be taken to the login form of your application
...
- Log in using the form. You should be granted access, as before
How does it work?
The code is tested with Tomcat 5.5.17 and 5.5.20. It will probably work with only minor modifications for other Tomcat 5.5 versions. It has been tested using Java 1.5.
...