Note that there are some explanatory texts on larger screens.

plurals
  1. POCommon Access Card (CAC) Authentication Using Java
    primarykey
    data
    text
    <p>I'm bascially looking for someplace to start learning how to interface with a government CAC card using java.</p> <p><strong>Ultimately, my goal is to find out how to use CAC card authentication (by PIN number) to authorize access to a website hosted using a Tomcat/J2EE server.</strong></p> <p>But I'll need somewhere to start. So I figure I'd start by writing a small java program to simply read the CAC card information from the CAC card which is inserted into a card reader on my keyboard (DELL keyboard with CAC reader above the numeric keypad).</p> <p>By searching google, I found the <strong>cacard</strong> java project (<a href="https://cacard.dev.java.net/" rel="noreferrer">https://cacard.dev.java.net/</a>) which was replaced by the <strong>OpenSSO</strong> project. But I can't seem to find sample code of how to use it to connect to a card, read from a card, etc.</p> <p>Does anyone know where I can find some sample code so that I can start learning how to interact with a CAC card using java?</p> <p>Thanks</p> <p>EDIT:</p> <p>After researching more, I was thinking, would I be able to just set <code>clientAuth="true"</code> in the connector element in the <code>server.xml</code> file? </p> <p><a href="http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html" rel="noreferrer">http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html</a> </p> <p>clientAuth: Set this value to true if you want Tomcat to require all SSL clients to present a client Certificate in order to use this socket.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload