Use any USB device as a keylock in your java application ...
Get notified by USB-Keylock about attached or detached USB devices or even ask the USB-Keylock for already attached devices. With this, you can lock/unlock you application quite easily.
Be be aware that this mechanism is not completely secure: If one has permissions to run additional programs, the usb keylock is unsecure. Targetapplications for this this library are applications/systems where
- users need to be identified by USB-Stick
- users don't have access to anything else than the running (full-screen-)application which uses USB-Keylock