I need to implement Mutual Authentication using Tomcat for SmartCard Based log on.
I have successfully configured Tomcat Mutual Authentication for certificates that are present on the file system by following https://nhachicha.wordpress.com/2012/01/26/mutual-authentication-with-tomcat/
Upon Successful Authentication, I am also able to access these certificates within my Java code using filters.
Real-world Scenario:
- User Logs on to Windows using Smart Card (Containing PKI Certificates)
- List item
- User accesses my App from the browser
- Tomcat should be able to access the Authenticated Certificates for its mutual authentication process
- This certificate will be used to access the User Principal, which will be used for Authorization of Resources within the App
Could someone shed light on how I can access the Smart Card certificates once Windows has used it for Logging On (Preferably without swiping the card once more)? I need to configure tomcat to access these Certificates.
(Once tomcat succeeds in Mutual Authentication, the certificates will be passed on and intercepted by Filters where the Java Logic can use them)