Applet not able to access NetworkInterface.getHardwareAddress()

I have a requirement where in i want to read the mac address of client m/c using applet.

I found that applet runs in a protected sandbox mode and can't have access to NetworkInterface.getHardwareAddress() api. And because of that i am not geeting mac address when applet runs in broswer where as i get the mac address when applet runs from Eclipse.

I tried using a signed applet but looks like i am not able to prompt the client for any certificates and hence not getting the expected  results back

Can somebody provide some working solution for this
jaingaaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

btanExec ConsultantCommented:
I am suggesting that you test on a single user logon machine vs shared machine so that isolation of correct user certificate to be loaded can be minimised. Sometimes, self signed applet is just to make sure the functionality and cert is alright in development. Some links that you may be interested

@ http://kr.forums.oracle.com/forums/thread.jspa?threadID=1144276&start=15&tstart=0
@ http://download.oracle.com/javase/tutorial/deployment/jar/signing.html

Excerpt - "But, I had a similar problem with a call to System.getenv() in the same applet that finally had to be placed in applet init() method in order to work properly. So I finally had the idea of placing the call to NetworkInterface.getHardwareAddress() in the init() method instead of within the applet method called from Javascript"
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
James MurrellProduct SpecialistCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Components

From novice to tech pro — start learning today.