[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Smartcard login for webpage?

Posted on 2012-12-20
12
Medium Priority
?
488 Views
Last Modified: 2013-11-13
I have a simple intranet management system that I need to make the login via a smartcard access. I've looked around and am having a hard time finding some open source api's or toolkits to develop a process to read a smartcard and authenticate access via a browser. I'm not familiar with Java but from what I have read this looks like the best method for allowing the browser to access the smartcard reader is to push down an applet that installs and gives access to the browser(page).

I'm looking for some sample source code that will allow me to create this within our intranet. The functionality I'm looking for would have the user access a login webpage which would push down the applet and authenticate access to the pages as long as the authenticated smartcard is inserted.
0
Comment
Question by:Dalexan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
12 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 38711373
Yes, a signed applet could do that in theory. How it did it would depend on the particular device and its interface
0
 

Author Comment

by:Dalexan
ID: 38711571
I'm planning on using the most widely accepted hardware omnikey

like these from eBay omnikey card stuff

I have found this page but I'm not sure whether this is just the reader component or what eID applet

LightOpenID
eID Library
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 38711628
Difficult to see what the application level interface of the hardware would be. Quite often, a card reader behaves like a keyboard
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:Dalexan
ID: 38711836
Please explain in more detail. I'm a experienced vb6 programmer and just getting my feet wet in scripting languages. Java seems very foreign to me much less how I would use it to accomplish what I'm trying to do.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 38712366
At the moment, this is far from a Java issue. In fact there's no indication that Java is relevant at all.
0
 

Author Comment

by:Dalexan
ID: 38713044
I'm confused by your answer, most of what I have read supports your first post in that a signed java applet is the way to go with this project?

This company has developed a smartcard login page that pushes down an applet which reads the springcard branded smartcard...springcard

Please also explain more on what you mean by the smartcard reader behaves like a keyboard?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 38713681
The information at the hardware site is rather generic. They are really the people to ask when it comes to whether their cards work with Java

Please also explain more on what you mean by the smartcard reader behaves like a keyboard?
I mean that reading the card causes characters to be generated, as if a keyboard had been used. These are then often collected from a text field
0
 

Author Comment

by:Dalexan
ID: 38713760
Can you help me understand how I can create an applet from this code that will allow me to accomplish my goal? sample smartcard source
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 2000 total points
ID: 38714019
You just really need to convert all that console-oriented input collection (inappropriate in an applet) into a gui-centred one. The entry point for an applet is of course init() not main, so you need to use init instead of main
0
 

Author Comment

by:Dalexan
ID: 38714138
Can you help me by making the changes to that code / removing the console oriented input collection and post the source? Java looks like C but it would take me weeks to figure out whats happening in that source.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 38714224
I don't have the time unfortunately for such activity outside of professional activity. Feel free to contact me through my profile if you wish to take it further though.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 38750955
:)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question