[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Java applet get computer USB ports

Posted on 2013-05-23
2
Medium Priority
?
918 Views
Last Modified: 2013-05-23
Hello,

I would like to create an applet, if the user authorize it, the applet will scan for the USB ports and find connected tokens to sign the login and complete the auth process.

I searched about it at google, but only find how to create the applet, but not how to provide the communication with the computer.

Thanks.
0
Comment
Question by:Rodrigoferra
2 Comments
 
LVL 1

Accepted Solution

by:
dcpetersonp earned 2000 total points
ID: 39192049
You are correct.  You will need a signed applet.
You'll also need to use JNI to access the underlying operating system.  Here is some information on JNI that will help:  http://www.javaworld.com/javaworld/jw-10-1998/jw-10-apptowin32.html
0
 

Author Closing Comment

by:Rodrigoferra
ID: 39192082
Thanks, objective, it´s what we need, people how go to the point!
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses
Course of the Month19 days, 3 hours left to enroll

834 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