cac

CAC Smartcard Reauthenticate

谁说胖子不能爱 提交于 2020-01-14 07:38:15
问题 We have one browser-based application where we want to make the user reauthenticate when they enter it. So when they access that URL we want them to be presented with the PIN prompt so they have to reauthenticate. Is there a reasonable way to do that? Added info: This is for a CAC card and the workstations have ActivIdentity and Tumbleweed on them. Also, I could add a service to the workstations if necessary. The browsers are all IE7. The web server is IIS 6 and the pages are written in ASP

SCardTransmit() returns empty response buffer

一笑奈何 提交于 2019-12-25 17:17:11
问题 Using the framework described here, I'm trying to read from a smart card. I have built an apdu command. The command structure appears to be correct because it works in java. When I call the SCardTransmit() function, the command gets executed, but it returns an empty response buffer of length Le+2 bytes. The first two bytes holding SW1 and SW2 are 6118. I believe this means that there are more bytes to be read into the buffer. However when I change the buffer size, the response buffer size is

PKCS11 driver for CAC card/ card reader

馋奶兔 提交于 2019-12-25 03:15:29
问题 I have a doubt regarding how to get the pkcs11 driver for interacting with CAC cards .As far as I understood the card reader should provide the driver. I just checked the SCR331 card reader abd they do not seem to have a pkcs11 driver. However the US DoD contracted ActivClient seems to have one which works with the SCR331. Also I got to know that OpenSC has a windows pkcs11 driver opensc-pkcs11.dll. Will this work with the SCR331 card reader. Also I found from the Putty-CAC project that

Authenticating AD server user using DOD issued CAC in java

匆匆过客 提交于 2019-12-23 15:16:18
问题 I have to authenticate an user residing in AD server using the DOD issued CAC(without using any username or password) using java. I will have CAC middle ware ActiveClient installed in the machine which is required to access the content(user certificates) on CAC. On some research i found that Kerberos + PKINIT should be used. I am not sure about where to start. Can someone help me out? 来源: https://stackoverflow.com/questions/15784107/authenticating-ad-server-user-using-dod-issued-cac-in-java

Authenticate a user using CAC (Common Access Card) in a web application running in Jetty for an application used by a US government agency

泄露秘密 提交于 2019-12-22 09:56:52
问题 I've been recently tasked with a similar task that this question describes. My task is to enable a web application to verify credentials via a CAC card. My web application is running on an embedded Jetty server running in an OSGi container. While the question is answered with good information, I noticed that one of the answers asks a good question back. The user that answered is @erikson and in a comment on his own answer he says "Are you using CACs issued by the US DOD? Is this application

How to connect to HTTPS server using Common Access Card

有些话、适合烂在心里 提交于 2019-12-17 19:36:18
问题 I need to write a java program to connect to a HTTPS server (DoD website). The website requires CAC (DoD common access card) authentication. If you access this site via browser, you insert your CAC first, and then enter a PIN. I need to accomplish the authentication process programmatically in java (kind of acting like browser). How do I retrieve the information from the CAC? I have been Googling around and read the Java PKCS#11 Reference Guide. Seems like Sun PKCS#11 Provider can do it, but

CAC authentication in a Java WebApp

Deadly 提交于 2019-12-08 07:19:07
问题 I saw that there were a few other Java and CAC posts on stackoverflow. I am a beginner with all of this stuff and I am still trying to a framework of what to do and where to go in my mind. I am doing work for a big org that is using CACs with Windows 7 boxes to authenticate users who want to get into their PCs. They stick the CAC in their keyboard and type in a PIN. My boss would like to alter our Java Webap such that it will not make the users authenticate if they have their CAC in their

Common Access Card (CAC) Authentication Using Java

ⅰ亾dé卋堺 提交于 2019-11-27 06:49:28
I'm bascially looking for someplace to start learning how to interface with a government CAC card using java. 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. 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). By searching google, I found the cacard java project ( https://cacard.dev.java

Common Access Card (CAC) Authentication Using Java

亡梦爱人 提交于 2019-11-26 12:11:32
问题 I\'m bascially looking for someplace to start learning how to interface with a government CAC card using java. 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. 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