I have a requirement where the user will use a smart card (Token) connected to his PC. When he accesses the web site I need to authenticate the user by reading certificate information from the smart card, and then verify this data with a DB. If information is right login the user; else show error message or certificate .
We use an SSL(HTTPS) connection authenticated by a CA different from the CA used with the smart card.
How can I do that in Java?