Let us imagine for a moment that I have a piece of hardware that can act as an authentication for a user on a given system. I want to write an application in C++ to run as a service, look for this device and if found log the appropriate user in. I believe I have found the API's I would need to use to perform the hardware and service portions of the application but am having a hard time nailing down a way to create a "real" user login. Is this possible? If so where would I look to find resources on accomplishing this? I think of it as being an analog to fingerprint scanner login type devices.
views:
199answers:
1
+3
A:
I think you are probably looking for the GINA ("Graphical Identification aNd Authentication) APIs. There is a good tutorial here.
snowcrash09
2010-05-10 12:36:54
You are my new hero. Cheers!
Gabriel
2010-05-10 13:06:06
If only I could have extra points for being a hero!
snowcrash09
2010-05-10 19:25:31
Congrats on 1k.
Gabriel
2010-05-11 10:33:01
Cheers. Does GINA work for you then? It doesn't exactly fit with your idea of a service polling your hardware- I think you have to wait for GINA to load your module when a user tries to login, *then* contact your hardware for authentication.
snowcrash09
2010-05-11 10:46:21