Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is best tested with two different browsers (eg Firefox and IE): #

  1. Install the client certificate in one of the Browsers (if it isn't already)

...

  1. Fire up this browser and visit your protected page

...

  1. You should be promted for the certificate as before, select it as before

...

  1. You should be logged into the site, as before

...

  1. Now fire up the other browser, the one without the certificate

...

  1. Attempt to access your protected page

...

  1. Depending on your Browser you may be promted about the certificate - click "cancel" if this is the case

...

  1. You should be taken to the login form of your application

...

  1. 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.

...