Page 1 of 1

intracting with java card applet in web application

Posted: Sun Aug 28, 2016 11:48 am
by morva14
in the java web application we need to communicate with client machine's USB port to check whether card reader is attached or not and to read data from card reader for user’s authentication. If card reader is attached at client’s USB port and card is swiped then read the card data and authenticate the user.

My Question is:

How to intracting with java card applet to check whether card reader is attached and card swiped on client’s machine or not? How to do this client-server communication?

I heard about three options,

1. Create Applet and run in browser

2. Downloading .dll file at client machine which will read card data.

3. Using java script.

I don't know which the feasible solution is and how to implement it.

Re: intracting with java card applet in web application

Posted: Mon Aug 29, 2016 4:52 am
by UNKNwYSHSA
Here's one article maybe you interesting.
https://wikis.forgerock.org/confluence/ ... SmartCards

You need to write middleware to make certificates in your smartcard can be recogonized by the browser.